more watchstate conf
Lint / lint (push) Failing after 1m37s Details
Plex Update / update (push) Successful in 1m54s Details

reboot
Vivian 2023-12-26 21:15:32 +01:00
parent f3f4bb391b
commit aad1ff1157
2 changed files with 13 additions and 6 deletions

View File

@ -36,7 +36,7 @@
enableUserServices = true;
};
security.polkit.enable = lib.mkDefault true;
# security.polkit.enable = lib.mkDefault true;
# Nix Settings
nix = {

View File

@ -18,6 +18,11 @@
# Additional packages
environment.systemPackages = with pkgs; [ ];
fileSystems."/mnt/storage" = {
device = "storage:/mnt/storage";
fsType = "nfs";
};
services.jellyfin = {
enable = true;
openFirewall = true;
@ -33,18 +38,20 @@
[ "d '/var/lib/watchstate' 0755 watchstate watchstate -" ];
networking.firewall.allowedTCPPorts = [ 8080 ];
# Managed imperatively through its CLI
virtualisation.oci-containers.containers.watchstate = {
image = "ghcr.io/arabcoders/watchstate:latest";
extraOptions = [ "--pull=newer" ];
user = "0:0";
environment = { WS_TZ = "Europe/Amsterdam"; };
environment = {
WS_TZ = "Europe/Amsterdam";
WS_CRON_IMPORT = "1";
WS_CRON_EXPORT = "1";
};
ports = [ "8080:8080" ];
volumes = [ "/var/lib/watchstate:/config:rw" ];
};
fileSystems."/mnt/storage" = {
device = "storage:/mnt/storage";
fsType = "nfs";
};
}