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;
|
with lib;
|
||||||
let nameservers = [ "1.1.1.1" "2606:4700:4700::1111" ];
|
let nameservers = [ "1.1.1.1" "2606:4700:4700::1111" ];
|
||||||
in {
|
in {
|
||||||
networking.nameservers = lib.mkDefault nameservers;
|
networking.nameservers = mkDefault nameservers;
|
||||||
services.resolved = lib.mkDefault { fallbackDns = nameservers; };
|
services.resolved = mkDefault { fallbackDns = nameservers; };
|
||||||
networking.dhcpcd.extraConfig = "noipv4ll";
|
networking.dhcpcd.extraConfig = "noipv4ll";
|
||||||
|
|
||||||
systemd.services.systemd-sysctl.enable = false;
|
systemd.services.systemd-sysctl.enable = false;
|
||||||
|
@ -26,9 +26,9 @@ in {
|
||||||
boot.isContainer = true;
|
boot.isContainer = true;
|
||||||
boot.enableContainers = mkDefault true;
|
boot.enableContainers = mkDefault true;
|
||||||
boot.loader.initScript.enable = true;
|
boot.loader.initScript.enable = true;
|
||||||
boot.specialFileSystems."/run/keys".fsType = lib.mkForce "tmpfs";
|
boot.specialFileSystems."/run/keys".fsType = mkForce "tmpfs";
|
||||||
boot.systemdExecutable =
|
boot.systemdExecutable = mkDefault
|
||||||
mkDefault "systemd systemd.unified_cgroup_hierarchy=0";
|
"/run/current-system/systemd/lib/systemd/systemd systemd.unified_cgroup_hierarchy=0";
|
||||||
|
|
||||||
# Overrides for <nixpkgs/nixos/modules/virtualisation/container-config.nix>
|
# Overrides for <nixpkgs/nixos/modules/virtualisation/container-config.nix>
|
||||||
documentation.enable = mkOverride 500 true;
|
documentation.enable = mkOverride 500 true;
|
||||||
|
@ -52,4 +52,3 @@ in {
|
||||||
unitConfig.ConditionPathExists = "/ifcfg.add";
|
unitConfig.ConditionPathExists = "/ifcfg.add";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue