Remove more persistence references and move to a simpler, global system
This commit is contained in:
parent
8d1a992bb2
commit
9a8e7d8a9e
6 changed files with 23 additions and 49 deletions
|
@ -1,11 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nginx
|
||||
];
|
||||
imports = [ ./nginx ];
|
||||
|
||||
config = lib.mkIf config.system.fileserver.enable {
|
||||
services.jellyfin.enable = true;
|
||||
environment.persistence."/persist".directories = [ "/var/lib/jellyfin" ];
|
||||
};
|
||||
services.jellyfin.enable = config.system.server.enable;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue