From d0329e6bb7a30e0d969c26269059a433d0cf09e6 Mon Sep 17 00:00:00 2001 From: joy Date: Fri, 18 Oct 2024 00:07:56 +0200 Subject: [PATCH] from neom to yazi --- modules/programs/home/default.nix | 1 + modules/programs/home/yazi/default.nix | 3 +++ modules/programs/norm/default.nix | 1 - modules/programs/norm/nemo/default.nix | 24 ------------------------ modules/wm/hyprland/default.nix | 2 +- 5 files changed, 5 insertions(+), 26 deletions(-) create mode 100644 modules/programs/home/yazi/default.nix delete mode 100644 modules/programs/norm/nemo/default.nix diff --git a/modules/programs/home/default.nix b/modules/programs/home/default.nix index eeba4ea..d1ab100 100644 --- a/modules/programs/home/default.nix +++ b/modules/programs/home/default.nix @@ -13,5 +13,6 @@ ./cmus ./tmux ./mail + ./yazi ]; } diff --git a/modules/programs/home/yazi/default.nix b/modules/programs/home/yazi/default.nix new file mode 100644 index 0000000..2ae4438 --- /dev/null +++ b/modules/programs/home/yazi/default.nix @@ -0,0 +1,3 @@ +{ + programs.yazi.enable = true; +} diff --git a/modules/programs/norm/default.nix b/modules/programs/norm/default.nix index 30e56d3..768d79c 100644 --- a/modules/programs/norm/default.nix +++ b/modules/programs/norm/default.nix @@ -2,7 +2,6 @@ imports = [ ./ssh ./gpg - ./nemo ./misc ./code ]; diff --git a/modules/programs/norm/nemo/default.nix b/modules/programs/norm/nemo/default.nix deleted file mode 100644 index 1174943..0000000 --- a/modules/programs/norm/nemo/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - environment.systemPackages = [ - (let - packagesWithSchemas = [ - pkgs.nemo - ]; - in - pkgs.runCommand "ngsettings" { - nativeBuildInputs = [ - pkgs.makeWrapper - ]; - } '' - mkdir -p "$out/bin" - # Creates ngsettings program (wrapped gsettings) - makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \ - --set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}" - '') - pkgs.nemo - ]; -} diff --git a/modules/wm/hyprland/default.nix b/modules/wm/hyprland/default.nix index 2db4296..5a5206c 100644 --- a/modules/wm/hyprland/default.nix +++ b/modules/wm/hyprland/default.nix @@ -69,7 +69,7 @@ bind = [ # launch Apps "$mod,TAB, exec, alacritty" - "$mod, E, exec, nemo" + "$mod, E, exec, alacritty -e yazi" "$mod, S, exec, firefox" "$mod, X, exec, keepassxc" "$mod, M, exec, mbsync -a && alacritty -e neomutt"