persistence: make /etc/nixos bind mount

This commit is contained in:
Benjamin Yule Bädorf 2024-02-08 19:27:28 +01:00
parent 5abeeb8751
commit f54229e68e
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -15,6 +15,11 @@
];
};
fileSystems."/etc/nixos" = {
device = "/home/${config.pub-solar.user.name}/Workspace/os";
options = [ "bind" ];
};
systemd.tmpfiles.rules = [
"d /persist/etc/ssh 0400 root root"
];