colin
43fa7fdd9f
- shorter. - congruent with `nixos-rebuild .` choosing what to build based on `hostname`. - more widely used within other nix repos i've seen. - more accurate in the case that i migrate a host to a different machine (which i plan to do with servo).
15 lines
460 B
Nix
15 lines
460 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
sane.impermanence.service-dirs = [
|
|
# TODO: mode? could be more granular
|
|
{ user = "jellyfin"; group = "jellyfin"; directory = "/var/lib/jellyfin"; }
|
|
];
|
|
|
|
# users.users.jellyfin.uid = config.sane.allocations.jellyfin-uid;
|
|
# users.groups.jellyfin.gid = config.sane.allocations.jellyfin-gid;
|
|
# TODO: re-enable after migrating media dir to /var/lib/uninsane/media
|
|
# else it's too spammy
|
|
# services.jellyfin.enable = true;
|
|
}
|