Disable nixos autoupgrades
This commit is contained in:
@@ -4,6 +4,8 @@ let
|
|||||||
cfg = config.node;
|
cfg = config.node;
|
||||||
|
|
||||||
configuration = {
|
configuration = {
|
||||||
|
system.autoUpgrade.enable = lib.mkForce false;
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ let
|
|||||||
};
|
};
|
||||||
defaultGateway = "10.1.62.1";
|
defaultGateway = "10.1.62.1";
|
||||||
firewall.extraCommands = ''
|
firewall.extraCommands = ''
|
||||||
iptables -I INPUT -s 10.1.61.0/24 -j ACCEPT
|
iptables -I INPUT -s 10.1.63.0/24 -j ACCEPT
|
||||||
iptables -t nat -A POSTROUTING -s 10.1.63.0/24 -j MASQUERADE
|
iptables -t nat -A POSTROUTING -s 10.1.63.0/24 -j MASQUERADE
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user