Flake: cleanup

This commit is contained in:
Filippo Berto 2023-04-08 15:14:48 +02:00
parent 016bf7c189
commit a4fa0c206a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
7 changed files with 47 additions and 155 deletions

3
nixos_modules/fstrim.nix Normal file
View file

@ -0,0 +1,3 @@
{
services.fstrim.enable = true;
}

3
nixos_modules/fwupd.nix Normal file
View file

@ -0,0 +1,3 @@
{
services.fwupd.enable = true;
}

View file

@ -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 = [