Init
Initial commit, nodes are mostly done, panel is WIP
This commit is contained in:
commit
67b1571e28
73 files changed
+3410
No files matched your search
@@ -0,0 +1,49 @@
|
||||
{
|
||||
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"
|
||||
"ss-zapret2"
|
||||
])
|
||||
))
|
||||
];
|
||||
|
||||
disko.cfg.mainDevice = "/dev/disk/by-path/pci-0000:00:07.0";
|
||||
|
||||
users.users.benq.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHfDJnpNXQWK55tHNzaCBzHiwxHp0LSTwkrLXPeOkPYQ benq"
|
||||
];
|
||||
|
||||
vps = {
|
||||
boot.firmware = "uefi";
|
||||
services = {
|
||||
netbird.enable = true;
|
||||
ss-zapret2 = {
|
||||
enable = true;
|
||||
socksPort = 1080;
|
||||
ssPort = 8388;
|
||||
};
|
||||
};
|
||||
remnawave = {
|
||||
enable = true;
|
||||
type = "node";
|
||||
subdomain = "f1-msk";
|
||||
zapret.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "26.11";
|
||||
}
|
||||
Reference in new issue
Block a user