syncthing
This commit is contained in:
parent
da80e76c8d
commit
bb7f4afae3
16 changed files with 158 additions and 57 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue