jellyfin config should be in server definition, not machine definition
This commit is contained in:
parent
c6dc5b4c9d
commit
bdb9cbfb13
3 changed files with 8 additions and 5 deletions
|
|
@ -64,7 +64,10 @@ in
|
|||
{ nodes, ... }:
|
||||
{
|
||||
deployment.targetHost = serverIp;
|
||||
imports = [ ../system/xps11/configuration.nix ];
|
||||
imports = [
|
||||
../system/xps11/configuration.nix
|
||||
../home/programs/jellyfin
|
||||
];
|
||||
|
||||
fileSystems."/storage" = {
|
||||
device = "${nasIp}:/storage";
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@
|
|||
|
||||
services.jellyfin.enable = true;
|
||||
|
||||
# 2. override default hardening measure from NixOS - this is default since 22.05
|
||||
systemd.services.jellyfin.serviceConfig.PrivateDevices = lib.mkForce false;
|
||||
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.defaults.email = lib.strings.fileContents ../../../../secrets/letsencrypt/mediaserver/email;
|
||||
services.nginx = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
./hardware-configuration.nix
|
||||
./glibc-locale-paths.nix
|
||||
../common/users.nix
|
||||
../../home/programs/jellyfin
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
|
@ -106,9 +105,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
# 2. override default hardening measure from NixOS - this is default since 22.05
|
||||
systemd.services.jellyfin.serviceConfig.PrivateDevices = lib.mkForce false;
|
||||
|
||||
# Enable touchpad support.
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue