2022-05-25 12:50:35 +00:00
|
|
|
{ ... }: {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2022-05-25 13:07:27 +00:00
|
|
|
../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"
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
}
|