chore: nothing
Some checks failed
Check meta / check_meta (push) Failing after 17s
build configuration / build_krz01 (push) Failing after 20s
lint / check (push) Failing after 20s

This commit is contained in:
catvayor 2024-12-06 14:41:02 +01:00 committed by sinavir
parent e262e55a66
commit 40df8e738d
No known key found for this signature in database
5 changed files with 9 additions and 26 deletions

View file

@ -9,9 +9,7 @@
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
@ -42,9 +40,7 @@
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/6518c729-a0cb-41b4-acc8-ec219d0afba6"; }
];
swapDevices = [ { device = "/dev/disk/by-uuid/6518c729-a0cb-41b4-acc8-ec219d0afba6"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -14,9 +14,7 @@ let
{
Endpoint = "129.199.146.230:1194";
PersistentKeepalive = 25;
AllowedIPs = [
"fdaa::${prefix}:0/64"
];
AllowedIPs = [ "fdaa::${prefix}:0/64" ];
PublicKey = peer.key;
};
in
@ -28,9 +26,7 @@ in
networks = {
"50-wg-mgmt" = {
name = "wg-mgmt";
address = [
"fdaa::${lib.toHexString (dgn-keys.getVpnKey "wg-mgmt" name).id}/64"
];
address = [ "fdaa::${lib.toHexString (dgn-keys.getVpnKey "wg-mgmt" name).id}/64" ];
routes = [
{
Destination = "fdaa::/64";

View file

@ -12,9 +12,7 @@ let
peer = dgn-keys.getVpnKey "wg-mgmt" peerName;
in
{
AllowedIPs = [
"fdaa::${prefix}:${lib.toHexString peer.id}/32"
];
AllowedIPs = [ "fdaa::${prefix}:${lib.toHexString peer.id}/32" ];
PublicKey = peer.key;
};
in
@ -26,9 +24,7 @@ in
networks = {
"50-wg-mgmt" = {
name = "wg-mgmt";
address = [
"fdaa::${lib.toHexString (dgn-keys.getVpnKey "wg-mgmt" name).id}/64"
];
address = [ "fdaa::${lib.toHexString (dgn-keys.getVpnKey "wg-mgmt" name).id}/64" ];
routes = [
{
Destination = "fdaa::/64";

View file

@ -1,2 +1 @@
{
}
{ }

View file

@ -89,18 +89,14 @@ in
name = "20-ens${builtins.toString (20 + i)}";
value = {
name = "ens${builtins.toString (20 + i)}";
address = [
"fdfd:1794:0:${builtins.toString vlan}::${builtins.toString cfg.id}/64"
];
address = [ "fdfd:1794:0:${builtins.toString vlan}::${builtins.toString cfg.id}/64" ];
};
}) cfg.connections
)
// {
"20-babel-local" = {
name = "babel-local";
address = [
"fdfd:1794::${builtins.toString cfg.id}/64"
];
address = [ "fdfd:1794::${builtins.toString cfg.id}/64" ];
};
};
netdevs = {