do the same for two other hosts
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
20
hosts/dunamis/nix.nix
Normal file
20
hosts/dunamis/nix.nix
Normal file
@ -0,0 +1,20 @@
|
||||
# TODO: better file name
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = with inputs; [
|
||||
lix.nixosModules.default
|
||||
];
|
||||
nix = {
|
||||
channel.enable = false;
|
||||
settings.experimental-features = ["nix-command" "flakes"];
|
||||
daemonCPUSchedPolicy = "idle";
|
||||
sshServe = {
|
||||
enable = true;
|
||||
write = true;
|
||||
keys = map (f: builtins.readFile f) config.users.users.user.openssh.authorizedKeys.keyFiles;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user