ark/hosts/wolumonde/default.nix

17 lines
328 B
Nix
Raw Normal View History

2022-07-30 04:39:01 +03:00
{ inputs, ... }: {
imports = [
./hardware-configuration.nix
];
boot.cleanTmpDir = true;
zramSwap.enable = true;
services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.users.root.openssh.authorizedKeys.keys = [
(builtins.readFile "${inputs.self}/secrets/ssh-key.pub")
];
}