Un-reverse the directory names
This makes it consistent with other places where I use fzf.
This commit is contained in:
parent
198f2962bd
commit
5ebf83a334
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue