From a613e489cd7b7de99e70cdf22767eb0e71eb97e5 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sat, 3 Feb 2024 17:28:57 -0600 Subject: [PATCH] feat: jellyfin (and updating nixpkgs) Signed-off-by: jolheiser --- flake.lock | 6 +++--- machines/sencha/default.nix | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 46f38f4..a35c3ed 100644 --- a/flake.lock +++ b/flake.lock @@ -265,11 +265,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1701336116, - "narHash": "sha256-kEmpezCR/FpITc6yMbAh4WrOCiT2zg5pSjnKrq51h5Y=", + "lastModified": 1706925685, + "narHash": "sha256-hVInjWMmgH4yZgA4ZtbgJM1qEAel72SYhP5nOWX4UIM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f5c27c6136db4d76c30e533c20517df6864c46ee", + "rev": "79a13f1437e149dc7be2d1290c74d378dad60814", "type": "github" }, "original": { diff --git a/machines/sencha/default.nix b/machines/sencha/default.nix index b621022..7d14b31 100644 --- a/machines/sencha/default.nix +++ b/machines/sencha/default.nix @@ -27,6 +27,7 @@ enable = true; drivers = [pkgs.canon-cups-ufr2 pkgs.cnijfilter_4_00]; }; + jellyfin.enable = true; }; virtualisation.docker.enable = true; @@ -36,10 +37,17 @@ extraGroups = ["wheel" "docker" "storage"]; isNormalUser = true; }; + users.groups.media.members = ["jolheiser" "olheiser" "jellyfin"]; environment.systemPackages = with pkgs; [ firefox gimp + protonvpn-gui + qbittorrent + ]; + + nixpkgs.config.permittedInsecurePackages = [ + "electron-25.9.0" ]; system.stateVersion = "22.11";