Un-reverse the directory names

This makes it consistent with other places where I use fzf.
This commit is contained in:
Oliver Davies 2024-11-26 15:18:58 +00:00
parent 198f2962bd
commit 5ebf83a334
5 changed files with 12 additions and 12 deletions

View file

@ -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;
};
};

View file

@ -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')

View file

@ -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;

View file

@ -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 ];

View file

@ -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;