ssh
This commit is contained in:
parent
2c57b566f9
commit
d73d2be924
5 changed files with 14 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./fonts.nix
|
||||
./nix.nix
|
||||
./users.nix
|
||||
./ssh.nix
|
||||
./steam.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
2
system/sops.nix
Normal file
2
system/sops.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{...}: {
|
||||
}
|
||||
9
system/ssh.nix
Normal file
9
system/ssh.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
isNormalUser = true;
|
||||
uid = conf.uid;
|
||||
extraGroups = ["wheel" "networkmanager"];
|
||||
hashedPasswordFile = config.sops.secrets."user/hashedPassword".path;
|
||||
hashedPasswordFile = config.sops.secrets."user/password".path;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue