nixos: services: pirate: persist data
This commit is contained in:
parent
6091c0ccd6
commit
380991d5a7
|
@ -19,6 +19,11 @@ let
|
||||||
enable = true;
|
enable = true;
|
||||||
group = "media";
|
group = "media";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Thankfully those old style services all define users with homes
|
||||||
|
my.system.persist.directories = [
|
||||||
|
config.users.user.${service}.home
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mkRedirection = service: {
|
mkRedirection = service: {
|
||||||
|
|
Loading…
Reference in a new issue