syncthing

This commit is contained in:
Lilith 2024-06-08 21:26:58 +02:00
parent da80e76c8d
commit bb7f4afae3
Signed by: lilith
GPG key ID: 8712A0F317C37175
16 changed files with 158 additions and 57 deletions

View file

@ -1,4 +1,4 @@
{impermanence, ...}: {
{impermanence, conf, lib, config, ...}: {
imports = [impermanence.nixosModule];
environment.persistence."/persist/data" = {
@ -10,7 +10,7 @@
];
files = [];
# users.${conf.user} = (import ../home/persist.nix).data;
users.${conf.user} = (import ../home/persist.nix { inherit config lib; }).data;
};
environment.persistence."/persist/cache" = {
@ -27,6 +27,6 @@
"/etc/machine-id"
];
# users.${conf.user} = (import ../home/persist.nix).cache;
users.${conf.user} = (import ../home/persist.nix { inherit config lib; }).cache;
};
}