diff --git a/ops/nixos/howl/default.nix b/ops/nixos/howl/default.nix index 9114dba286..03e63ff1da 100644 --- a/ops/nixos/howl/default.nix +++ b/ops/nixos/howl/default.nix @@ -144,11 +144,6 @@ in { bits = 4096; } ]; - environment.etc = { - "NetworkManager/system-connections" = { - source = "/persist/etc/NetworkManager/system-connections/"; - }; - }; systemd.tmpfiles.rules = [ "d /var/lib/libvirt 0755 root - - -" ]; @@ -168,6 +163,7 @@ in { }; in [ (bindMountSvc "/var/lib/libvirt" "libvirtd.service") + (bindMountSvc "/etc/NetworkManager/system-connections" "NetworkManager.service") (bindMount "/root") ]; diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index cc725e6fbd..dbe4465e65 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -283,9 +283,6 @@ in { } ]; environment.etc = { - "NetworkManager/system-connections" = { - source = "/persist/etc/NetworkManager/system-connections/"; - }; "nixos" = { source = "/persist/etc/nixos/"; }; }; systemd.tmpfiles.rules = [ @@ -308,6 +305,7 @@ in { }; in [ (bindMountSvc "/var/lib/libvirt" "libvirtd.service") + (bindMountSvc "/etc/NetworkManager/system-connections" "NetworkManager.service") (bindMount "/root") ];