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, ... }:
|
{ nodes, ... }:
|
||||||
{
|
{
|
||||||
deployment.targetHost = serverIp;
|
deployment.targetHost = serverIp;
|
||||||
imports = [ ../system/xps11/configuration.nix ];
|
imports = [
|
||||||
|
../system/xps11/configuration.nix
|
||||||
|
../home/programs/jellyfin
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems."/storage" = {
|
fileSystems."/storage" = {
|
||||||
device = "${nasIp}:/storage";
|
device = "${nasIp}:/storage";
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
services.jellyfin.enable = true;
|
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.acceptTerms = true;
|
||||||
security.acme.defaults.email = lib.strings.fileContents ../../../../secrets/letsencrypt/mediaserver/email;
|
security.acme.defaults.email = lib.strings.fileContents ../../../../secrets/letsencrypt/mediaserver/email;
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./glibc-locale-paths.nix
|
./glibc-locale-paths.nix
|
||||||
../common/users.nix
|
../common/users.nix
|
||||||
../../home/programs/jellyfin
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# 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.
|
# Enable touchpad support.
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue