Files
vps-nixos/hosts/ve-swe-node/configuration.nix
T
aloslider 67b1571e28 Init
Initial commit, nodes are mostly done, panel is WIP
2026-11-17 10:47:39 +03:00

42 lines
872 B
Nix

{
lib,
modulesPath,
...
}:
{
imports = lib.flatten [
(modulesPath + "/profiles/qemu-guest.nix")
./hardware-configuration.nix
./network.nix
(map lib.custom.relativeToRoot (
[
"hosts/common/core"
"hosts/common/users/benq.nix"
]
++ (map (f: "hosts/common/optional/${f}") [
"netbird"
"remnawave"
])
))
];
disko.cfg.mainDevice = "/dev/disk/by-path/pci-0000:00:04.0-scsi-0:0:0:0";
users.users.benq.openssh.authorizedKeys.keys = lib.mkForce [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGPfdeTneUdM4HQl+ZQoY3t740kgxonHPRzz0hWAmIQR benq"
];
vps = {
boot.firmware = "bios";
services.netbird.enable = true;
remnawave = {
enable = true;
type = "node";
subdomain = "ve-swe";
node.roscomvpnGeosite = true;
};
};
system.stateVersion = "26.11";
}