Migrate gateway
This commit is contained in:
32
systems/gateway/cfg.nix
Normal file
32
systems/gateway/cfg.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
syscfg = {
|
||||
hostname = "gateway";
|
||||
type = "nixos";
|
||||
system = "x86_64-linux";
|
||||
defaultUser = "sora";
|
||||
users = [{
|
||||
username = "sora";
|
||||
wm = "-";
|
||||
git = {
|
||||
email = "soraefir+git@helcel";
|
||||
username = "soraefir";
|
||||
key = "4E241635F8EDD2919D2FB44CA362EA0491E2EEA0";
|
||||
};
|
||||
}];
|
||||
make = {
|
||||
cli = true;
|
||||
};
|
||||
net = {
|
||||
wlp = { enable = false; };
|
||||
wg = {
|
||||
enable = true;
|
||||
ip4 = "10.10.1.1/32";
|
||||
ip6 = "fd10:10:10::1/128";
|
||||
server = {
|
||||
enable = true;
|
||||
peers = ["avalon" "asguard" "iriy" "valinor" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user