2022-07-30 05:03:10 +03:00
|
|
|
{inputs, ...}: {
|
2022-07-30 04:39:01 +03:00
|
|
|
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")
|
|
|
|
];
|
2022-07-30 05:03:10 +03:00
|
|
|
|
|
|
|
_module.args.nixinate = {
|
|
|
|
host = builtins.readFile "${inputs.self}/secrets/wolumonde-ip";
|
|
|
|
sshUser = "root";
|
|
|
|
buildOn = "local"; # valid args are "local" or "remote"
|
|
|
|
substituteOnTarget = true; # if buildOn is "local" then it will substitute on the target, "-s"
|
|
|
|
hermetic = true;
|
|
|
|
};
|
2022-07-30 05:14:17 +03:00
|
|
|
|
|
|
|
system.stateVersion = "22.05";
|
2022-07-30 05:03:10 +03:00
|
|
|
}
|