Flake: cleanup
This commit is contained in:
parent
016bf7c189
commit
a4fa0c206a
7 changed files with 47 additions and 155 deletions
3
nixos_modules/fstrim.nix
Normal file
3
nixos_modules/fstrim.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.fstrim.enable = true;
|
||||
}
|
||||
3
nixos_modules/fwupd.nix
Normal file
3
nixos_modules/fwupd.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
|
|
@ -2,9 +2,10 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
||||
kbdInteractiveAuthentication = lib.mkDefault false;
|
||||
permitRootLogin = lib.mkDefault "prohibit-password";
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
passwordAuthentication = lib.mkDefault false;
|
||||
};
|
||||
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue