howl/porcorosso: switch NetworkManager/system-connections from symlink to bind mount
This commit is contained in:
parent
a840c23c56
commit
18d7f36feb
2 changed files with 2 additions and 8 deletions
|
@ -144,11 +144,6 @@ in {
|
||||||
bits = 4096;
|
bits = 4096;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
environment.etc = {
|
|
||||||
"NetworkManager/system-connections" = {
|
|
||||||
source = "/persist/etc/NetworkManager/system-connections/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/lib/libvirt 0755 root - - -"
|
"d /var/lib/libvirt 0755 root - - -"
|
||||||
];
|
];
|
||||||
|
@ -168,6 +163,7 @@ in {
|
||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
(bindMountSvc "/var/lib/libvirt" "libvirtd.service")
|
(bindMountSvc "/var/lib/libvirt" "libvirtd.service")
|
||||||
|
(bindMountSvc "/etc/NetworkManager/system-connections" "NetworkManager.service")
|
||||||
(bindMount "/root")
|
(bindMount "/root")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -283,9 +283,6 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"NetworkManager/system-connections" = {
|
|
||||||
source = "/persist/etc/NetworkManager/system-connections/";
|
|
||||||
};
|
|
||||||
"nixos" = { source = "/persist/etc/nixos/"; };
|
"nixos" = { source = "/persist/etc/nixos/"; };
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
@ -308,6 +305,7 @@ in {
|
||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
(bindMountSvc "/var/lib/libvirt" "libvirtd.service")
|
(bindMountSvc "/var/lib/libvirt" "libvirtd.service")
|
||||||
|
(bindMountSvc "/etc/NetworkManager/system-connections" "NetworkManager.service")
|
||||||
(bindMount "/root")
|
(bindMount "/root")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue