nixos: services: pirate: persist data

This commit is contained in:
Bruno BELANYI 2021-11-05 15:58:07 +01:00
parent 17255be516
commit 775d7a44cd

View file

@ -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: {