chore: format
parent
df9fbf05ea
commit
0ac0521375
|
@ -11,8 +11,8 @@ with lib;
|
||||||
{
|
{
|
||||||
imports = (if includeHardware then [
|
imports = (if includeHardware then [
|
||||||
./profiles/${hostname}/hardware-configuration.nix
|
./profiles/${hostname}/hardware-configuration.nix
|
||||||
] else []) ++ [
|
] else [ ]) ++ [
|
||||||
"${modulesPath}/profiles/minimal.nix"
|
"${modulesPath}/profiles/minimal.nix"
|
||||||
];
|
];
|
||||||
inherit networking;
|
inherit networking;
|
||||||
inherit boot;
|
inherit boot;
|
||||||
|
@ -28,31 +28,31 @@ with lib;
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
users.users.hungtr = {
|
users.users.hungtr = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/hungtr";
|
home = "/home/hungtr";
|
||||||
description = "pegasust/hungtr";
|
description = "pegasust/hungtr";
|
||||||
extraGroups = [ "wheel" "networkmanager" ];
|
extraGroups = [ "wheel" "networkmanager" ];
|
||||||
openssh.authorizedKeys.keys = lib.strings.splitString "\n" (builtins.readFile ../ssh/authorized_keys);
|
openssh.authorizedKeys.keys = lib.strings.splitString "\n" (builtins.readFile ../ssh/authorized_keys);
|
||||||
};
|
};
|
||||||
|
|
||||||
# Some basic programs
|
# Some basic programs
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# more information should be configured under user level
|
# more information should be configured under user level
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.gnumake
|
pkgs.gnumake
|
||||||
pkgs.wget
|
pkgs.wget
|
||||||
pkgs.inetutils
|
pkgs.inetutils
|
||||||
pkgs.mtr
|
pkgs.mtr
|
||||||
pkgs.sysstat
|
pkgs.sysstat
|
||||||
pkgs.mosh
|
pkgs.mosh
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue