nixos-config/hosts/backup/configuration.nix

20 lines
486 B
Nix
Raw Permalink Normal View History

2022-05-25 12:50:35 +00:00
{ ... }: {
imports = [
./hardware-configuration.nix
../modules/rest-server.nix
../modules/users.nix
../modules/common.nix
2022-05-25 12:50:35 +00:00
];
boot.cleanTmpDir = true;
zramSwap.enable = false;
networking.hostName = "back";
services.openssh.enable = true;
2022-05-25 13:00:57 +00:00
services.openssh.permitRootLogin = "no";
2022-05-25 12:50:35 +00:00
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKUA1RW6JwZasspAp8qmFRFnlV5WXjhLfStAAkM+KYLv lucazeau.alexandre@gmail.com"
];
}