diff --git a/nix/hosts/lemp11/default.nix b/nix/hosts/lemp11/default.nix index bab7979..ff53014 100644 --- a/nix/hosts/lemp11/default.nix +++ b/nix/hosts/lemp11/default.nix @@ -6,12 +6,12 @@ desktop = { gaming.enable = true; + }; - homelab = { - gitea.enable = true; - immich.enable = true; - jellyfin.enable = true; - }; + homelab = { + gitea.enable = true; + immich.enable = true; + jellyfin.enable = true; }; }; diff --git a/nix/lib/shared/scripts/t.nix b/nix/lib/shared/scripts/t.nix index 900795e..fb6b0ce 100644 --- a/nix/lib/shared/scripts/t.nix +++ b/nix/lib/shared/scripts/t.nix @@ -23,7 +23,7 @@ ! -name "*.old" ) - selected_path=$(echo "''${items}" | sort | fzf --reverse) + selected_path=$(echo "''${items}" | sort | fzf) fi session_name=$(basename "$selected_path" | sed 's/\./_/g') diff --git a/nix/modules/nixos/features/homelab/gitea.nix b/nix/modules/nixos/features/homelab/gitea.nix index 848ba83..47d1760 100644 --- a/nix/modules/nixos/features/homelab/gitea.nix +++ b/nix/modules/nixos/features/homelab/gitea.nix @@ -1,9 +1,9 @@ { config, lib, ... }: { - options.features.desktop.homelab.gitea.enable = lib.mkEnableOption "Enable gitea"; + options.features.homelab.gitea.enable = lib.mkEnableOption "Enable gitea"; - config = lib.mkIf config.features.desktop.homelab.gitea.enable { + config = lib.mkIf config.features.homelab.gitea.enable { services.gitea = { enable = true; diff --git a/nix/modules/nixos/features/homelab/immich.nix b/nix/modules/nixos/features/homelab/immich.nix index 83f9d7f..6bd923c 100644 --- a/nix/modules/nixos/features/homelab/immich.nix +++ b/nix/modules/nixos/features/homelab/immich.nix @@ -6,9 +6,9 @@ }: { - options.features.desktop.homelab.immich.enable = lib.mkEnableOption "Enable immich"; + options.features.homelab.immich.enable = lib.mkEnableOption "Enable immich"; - config = lib.mkIf config.features.desktop.homelab.immich.enable { + config = lib.mkIf config.features.homelab.immich.enable { services.immich.enable = true; environment.systemPackages = [ pkgs.immich-cli ]; diff --git a/nix/modules/nixos/features/homelab/jellyfin.nix b/nix/modules/nixos/features/homelab/jellyfin.nix index 8866d5f..f650ca0 100644 --- a/nix/modules/nixos/features/homelab/jellyfin.nix +++ b/nix/modules/nixos/features/homelab/jellyfin.nix @@ -1,9 +1,9 @@ { config, lib, ... }: { - options.features.desktop.homelab.jellyfin.enable = lib.mkEnableOption "Enable jellyfin"; + options.features.homelab.jellyfin.enable = lib.mkEnableOption "Enable jellyfin"; - config = lib.mkIf config.features.desktop.homelab.jellyfin.enable { + config = lib.mkIf config.features.homelab.jellyfin.enable { services.jellyfin = { enable = true; openFirewall = true;