diff --git a/nixos/boxes/vpsfree1/vpsfree1-vpsadminos.nix b/nixos/boxes/vpsfree1/vpsfree1-vpsadminos.nix index e8644750..ee8cdb4e 100644 --- a/nixos/boxes/vpsfree1/vpsfree1-vpsadminos.nix +++ b/nixos/boxes/vpsfree1/vpsfree1-vpsadminos.nix @@ -10,8 +10,8 @@ with lib; let nameservers = [ "1.1.1.1" "2606:4700:4700::1111" ]; in { - networking.nameservers = lib.mkDefault nameservers; - services.resolved = lib.mkDefault { fallbackDns = nameservers; }; + networking.nameservers = mkDefault nameservers; + services.resolved = mkDefault { fallbackDns = nameservers; }; networking.dhcpcd.extraConfig = "noipv4ll"; systemd.services.systemd-sysctl.enable = false; @@ -26,9 +26,9 @@ in { boot.isContainer = true; boot.enableContainers = mkDefault true; boot.loader.initScript.enable = true; - boot.specialFileSystems."/run/keys".fsType = lib.mkForce "tmpfs"; - boot.systemdExecutable = - mkDefault "systemd systemd.unified_cgroup_hierarchy=0"; + boot.specialFileSystems."/run/keys".fsType = mkForce "tmpfs"; + boot.systemdExecutable = mkDefault + "/run/current-system/systemd/lib/systemd/systemd systemd.unified_cgroup_hierarchy=0"; # Overrides for documentation.enable = mkOverride 500 true; @@ -52,4 +52,3 @@ in { unitConfig.ConditionPathExists = "/ifcfg.add"; }; } -