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 [
./profiles/${hostname}/hardware-configuration.nix
] else []) ++ [
"${modulesPath}/profiles/minimal.nix"
] else [ ]) ++ [
"${modulesPath}/profiles/minimal.nix"
];
inherit networking;
inherit boot;
@ -28,31 +28,31 @@ with lib;
experimental-features = nix-command flakes
'';
users.users.hungtr = {
isNormalUser = true;
home = "/home/hungtr";
description = "pegasust/hungtr";
extraGroups = [ "wheel" "networkmanager" ];
openssh.authorizedKeys.keys = lib.strings.splitString "\n" (builtins.readFile ../ssh/authorized_keys);
isNormalUser = true;
home = "/home/hungtr";
description = "pegasust/hungtr";
extraGroups = [ "wheel" "networkmanager" ];
openssh.authorizedKeys.keys = lib.strings.splitString "\n" (builtins.readFile ../ssh/authorized_keys);
};
# Some basic programs
programs.neovim = {
enable = true;
defaultEditor = true;
enable = true;
defaultEditor = true;
};
programs.git = {
enable = true;
# more information should be configured under user level
enable = true;
# more information should be configured under user level
};
environment.systemPackages = [
pkgs.gnumake
pkgs.wget
pkgs.inetutils
pkgs.mtr
pkgs.sysstat
pkgs.mosh
pkgs.gnumake
pkgs.wget
pkgs.inetutils
pkgs.mtr
pkgs.sysstat
pkgs.mosh
];
}
}