ops/nixos: fixes for nixpkgs bump

This commit is contained in:
Luke Granger-Brown 2023-10-24 23:51:25 +01:00
parent bd41a03783
commit b934f315dd
3 changed files with 13 additions and 4 deletions

View file

@ -151,7 +151,10 @@ in
mode = "802.3ad"; mode = "802.3ad";
}; };
}; };
defaultGateway6.address = "2a09:a446:1337:ffff::1"; defaultGateway6 = {
address = "2a09:a446:1337:ffff::1";
interface = "bond0";
};
interfaces.bond0 = { interfaces.bond0 = {
ipv6.addresses = [ ipv6.addresses = [
{ address = "2a09:a446:1337::10"; prefixLength = 64; } { address = "2a09:a446:1337::10"; prefixLength = 64; }

View file

@ -84,8 +84,14 @@
"8.8.8.8" "8.8.8.8"
"8.8.4.4" "8.8.4.4"
]; ];
defaultGateway.address = "103.141.25.49"; defaultGateway = {
defaultGateway6.address = "2a07:242:800:64::1"; address = "103.141.25.49";
interface = "eno1";
};
defaultGateway6 = {
address = "2a07:242:800:64::1";
interface = "eno1";
};
interfaces.eno1 = { interfaces.eno1 = {
ipv4.addresses = [{ address = "103.141.25.50"; prefixLength = 30; }]; ipv4.addresses = [{ address = "103.141.25.50"; prefixLength = 30; }];
ipv6.addresses = [{ address = "2a07:242:800:64::68"; prefixLength = 64; }]; ipv6.addresses = [{ address = "2a07:242:800:64::68"; prefixLength = 64; }];

View file

@ -158,7 +158,7 @@ in
security.pam.ussh = { security.pam.ussh = {
enable = true; enable = true;
control = "sufficient"; control = "sufficient";
caFile = ../../secrets/client-ca.pub; caFile = toString ../../secrets/client-ca.pub;
}; };
users.mutableUsers = false; users.mutableUsers = false;