diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 02:02:23 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-29 03:50:32 +0530 |
| commit | 41bdeb88009dd232808edee9fc0e4ae94358d8d6 (patch) | |
| tree | c1a41f54e086064dac178ebed24d36ab34087c32 /modules/scripts/default.nix | |
| parent | 530299d97926d45939f831dc3ea5e444d2839d08 (diff) | |
| download | home-manager-config-41bdeb88009dd232808edee9fc0e4ae94358d8d6.tar.gz home-manager-config-41bdeb88009dd232808edee9fc0e4ae94358d8d6.zip | |
refactor: moving script into modules that makes sense
- instead of collecting all scripts into modules/scripts we are moving
them to modules that makes sense (yazi-file-chooser.sh into yazi)
Diffstat (limited to 'modules/scripts/default.nix')
| -rw-r--r-- | modules/scripts/default.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/scripts/default.nix b/modules/scripts/default.nix deleted file mode 100644 index ae18329..0000000 --- a/modules/scripts/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - config, - lib, - ... -}: -{ - imports = [ - ./deep-clean - ./gopass-ssh-load - ./gpg-backup - ./nix-update - ./neomutt-sync - ./screen-recording - ./system-monitor - ./usque-warp - ./yazi-file-chooser - ]; - - config = { - home.packages = lib.filter (x: x != null) (lib.mapAttrsToList (_: s: s.package) config.scripts); - - xdg.desktopEntries = lib.mapAttrs' ( - name: sc: - lib.nameValuePair name { - name = sc.desktop.displayName; - exec = "${lib.getExe config.terminal.kitty.package} --class ${name} -e ${lib.getExe sc.package}"; - icon = sc.desktop.icon; - categories = [ "Utility" ]; - terminal = false; - type = "Application"; - } - ) (lib.filterAttrs (_: sc: sc.enable && sc.desktop.enable) config.scripts); - }; -} |
