update to the new vpsadminos, fix boot bug
This commit is contained in:
parent
d59ec48465
commit
9c2c1f2ecb
1 changed files with 5 additions and 6 deletions
|
@ -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 <nixpkgs/nixos/modules/virtualisation/container-config.nix>
|
||||
documentation.enable = mkOverride 500 true;
|
||||
|
@ -52,4 +52,3 @@ in {
|
|||
unitConfig.ConditionPathExists = "/ifcfg.add";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue