This commit is contained in:
Spectre 2024-06-07 14:19:39 +02:00
parent 2c57b566f9
commit d73d2be924
5 changed files with 14 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{...}: { {
user = [ user = [
]; ];
} }

View file

@ -10,6 +10,7 @@
./fonts.nix ./fonts.nix
./nix.nix ./nix.nix
./users.nix ./users.nix
./ssh.nix
./steam.nix ./steam.nix
]; ];

2
system/sops.nix Normal file
View file

@ -0,0 +1,2 @@
{...}: {
}

9
system/ssh.nix Normal file
View file

@ -0,0 +1,9 @@
{...}: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}

View file

@ -9,7 +9,7 @@
isNormalUser = true; isNormalUser = true;
uid = conf.uid; uid = conf.uid;
extraGroups = ["wheel" "networkmanager"]; extraGroups = ["wheel" "networkmanager"];
hashedPasswordFile = config.sops.secrets."user/hashedPassword".path; hashedPasswordFile = config.sops.secrets."user/password".path;
}; };
}; };