Files
nixos/hosts/print-01/default.nix

34 lines
755 B
Nix

{
config,
lib,
pkgs,
pkgsUnstable,
inputs,
...
}:
{
network.routingType = "dynamic";
network.hardwareAddress = "bc:24:11:0f:1b:a3";
qemu.enable = true;
spice.enable = true;
printserver = {
enable = true;
allowedHosts = [
"127.0.0.1"
"192.168.1.*"
"100.64.5.0/24"
];
serverName = "print-01.tail755c5.ts.net";
serverAliases = [
"localhost"
];
};
base.userSSHKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZizFOCecyfHqJDDinCl9XTXvCd8RBEM6VN76nGZfSj etorres@xenon"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFV9iQLPBN3aK88aGN3EL4kSP6rMOfiN84KjIdt7jdVn etorres@radon"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICk6WQFO39tY3CZnXr6jF0wwkHH3isWWLFityvObui0L etorres@erics-mac"
];
}