Disable nixos autoupgrades
This commit is contained in:
@@ -4,6 +4,8 @@ let
|
||||
cfg = config.node;
|
||||
|
||||
configuration = {
|
||||
system.autoUpgrade.enable = lib.mkForce false;
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
@@ -102,7 +102,7 @@ let
|
||||
};
|
||||
defaultGateway = "10.1.62.1";
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user