aboutsummaryrefslogtreecommitdiffstats
path: root/modules/scripts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/scripts/default.nix')
-rw-r--r--modules/scripts/default.nix34
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);
- };
-}