hosts/eldrid/nix.nix: sync nix hosts/sarien/nix.nix: sync nix Signed-off-by: unexplrd <unexplrd@linerds.us>
23 lines
470 B
Nix
23 lines
470 B
Nix
# TODO: better file name
|
|
{
|
|
config,
|
|
inputs,
|
|
# pkgs,
|
|
...
|
|
}: {
|
|
imports = with inputs; [
|
|
determinate.nixosModules.default
|
|
];
|
|
nix = {
|
|
# package = pkgs.lix;
|
|
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;
|
|
};
|
|
};
|
|
}
|