persistence: make /etc/nixos bind mount
This commit is contained in:
parent
5abeeb8751
commit
f54229e68e
|
@ -15,6 +15,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/etc/nixos" = {
|
||||||
|
device = "/home/${config.pub-solar.user.name}/Workspace/os";
|
||||||
|
options = [ "bind" ];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /persist/etc/ssh 0400 root root"
|
"d /persist/etc/ssh 0400 root root"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue