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