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

40 lines
949 B
Nix

{
config,
lib,
pkgs,
pkgsUnstable,
inputs,
...
}:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
network-dhcp = {
enable = true;
hardwareAddress = "BC:24:11:0F:1B:A3";
};
qemu.enable = true;
spice.enable = true;
printserver = {
enable = true;
allowedHosts = [
"127.0.0.1"
"192.168.4.*"
"100.64.5.0/24"
];
serverName = "print-01.tail755c5.ts.net";
serverAliases = [
"127.0.0.1"
];
};
base.userSSHKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGZizFOCecyfHqJDDinCl9XTXvCd8RBEM6VN76nGZfSj etorres@xenon"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFV9iQLPBN3aK88aGN3EL4kSP6rMOfiN84KjIdt7jdVn etorres@radon"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICk6WQFO39tY3CZnXr6jF0wwkHH3isWWLFityvObui0L etorres@erics-mac"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILeQ3NdARSqPf6Suy8kkK9cG4rsEgD2z3MS7zbJ0YQCu etorres@iphone"
];
}