chore: format

nix-components
pegasust 2022-11-15 22:44:56 +00:00
parent df9fbf05ea
commit 0ac0521375
1 changed files with 18 additions and 18 deletions

View File

@ -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
]; ];
} }