summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/default.nix7
-rw-r--r--nixos/services/immich.nix36
-rw-r--r--nixos/services/jellyfin.nix33
3 files changed, 2 insertions, 74 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index 0555b5d..6caa004 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -7,14 +7,11 @@
./services/cgit.nix
./services/fileshares.nix
./services/gitea.nix
- ./services/immich.nix
- ./services/jellyfin.nix
./services/mailer.nix
./services/searxng.nix
- ./services/router/dns-dhcp.nix
- ./services/router/routing.nix
- ./services/router/unbound-blocklist.nix
+ ./services/transmission-wg.nix
./services/zfs/zed-mailer.nix
+ ./services/router
#./services/mainsail.nix
diff --git a/nixos/services/immich.nix b/nixos/services/immich.nix
deleted file mode 100644
index f9b17d5..0000000
--- a/nixos/services/immich.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ lib, pkgs, config, ... }: let
- cfg = config.services._immich;
-in {
- options.services._immich = {
- enable = lib.mkEnableOption "enables immich service";
- mediaLocationHostPath = lib.mkOption {
- type = lib.types.nullOr lib.types.str;
- description = "host path to the media location";
- default = null;
- };
- };
-
- config = lib.mkIf cfg.enable {
- containers.immich = {
- autoStart = true;
- privateNetwork = false;
- bindMounts = {
- "/var/lib/immich" = lib.mkIf (cfg.mediaLocationHostPath != null) {
- hostPath = cfg.mediaLocationHostPath;
- isReadOnly = false;
- };
- };
-
- config = { lib, config, ... }: {
- services.immich = {
- enable = true;
- host = "0.0.0.0";
- };
-
- environment.systemPackages = with pkgs; [ immich immich-cli ];
-
- system.stateVersion = "25.11";
- };
- };
- };
-}
diff --git a/nixos/services/jellyfin.nix b/nixos/services/jellyfin.nix
deleted file mode 100644
index 8d04278..0000000
--- a/nixos/services/jellyfin.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ lib, pkgs, config, ... }: let
- cfg = config.services._jellyfin;
-in {
- options.services._jellyfin = {
- enable = lib.mkEnableOption "enables jellyfin service";
- mediaLocationHostPath = lib.mkOption {
- type = lib.types.nullOr lib.types.str;
- description = "host path to the media location";
- default = null;
- };
- };
-
- config = lib.mkIf cfg.enable {
- containers.jellyfin = {
- autoStart = true;
- privateNetwork = false;
- bindMounts = {
- "/media" = lib.mkIf (cfg.mediaLocationHostPath != null) {
- hostPath = cfg.mediaLocationHostPath;
- isReadOnly = true;
- };
- };
-
- config = { lib, config, ... }: {
- services.jellyfin = {
- enable = true;
- };
-
- system.stateVersion = "25.11";
- };
- };
- };
-}