diff options
author | Soispha <soispha@vhack.eu> | 2023-08-01 15:31:42 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-01 15:42:54 +0200 |
commit | 0a608bd781dcda40144097b007fac0a0c60a8ee1 (patch) | |
tree | e69fbc1fd0e15e3b86f31f47b776df21f6f0170d /home-manager/packages/scripts.nix | |
parent | Fix(hm/conf/gammastep): Use lighter settings on laptops (diff) | |
download | nixos-config-0a608bd781dcda40144097b007fac0a0c60a8ee1.tar.gz nixos-config-0a608bd781dcda40144097b007fac0a0c60a8ee1.zip |
Refactor(treewide): Move module configuration in separate files
Diffstat (limited to 'home-manager/packages/scripts.nix')
-rw-r--r-- | home-manager/packages/scripts.nix | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/home-manager/packages/scripts.nix b/home-manager/packages/scripts.nix deleted file mode 100644 index 73b52d37..00000000 --- a/home-manager/packages/scripts.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ - pkgs, - sysLib, - ... -}: let - write_script = { - name, - path, - dependencies, - }: - sysLib.writeShellScriptWithLibrary { - inherit name; - src = ./scripts/${path}/${name}; - dependencies = dependencies ++ [pkgs.dash]; - }; - aumo-scr = write_script { - name = "aumo"; - path = "apps"; - dependencies = builtins.attrValues {inherit (pkgs) udisks gawk gnused gnugrep sudo;}; - }; - con2pdf-scr = write_script { - name = "con2pdf"; - path = "apps"; - dependencies = builtins.attrValues {inherit (pkgs) sane-backends imagemagick coreutils fd;}; - }; - - dldragon-scr = write_script { - name = "dldragon"; - path = "small_functions"; - dependencies = builtins.attrValues {inherit (pkgs) curl xdragon;}; - }; - gtk-themes-scr = write_script { - name = "gtk-themes"; - path = "small_functions"; - dependencies = builtins.attrValues {inherit (pkgs) glib;}; - }; - screen_shot-scr = write_script { - name = "screen_shot"; - path = "small_functions"; - dependencies = builtins.attrValues {inherit (pkgs) grim slurp alacritty;}; # TODO add llp - }; - mocs-scr = write_script { - name = "mocs"; - path = "small_functions"; - dependencies = builtins.attrValues {inherit (pkgs) ncmpc procps;}; # TODO add mymocp - }; - update-sys-scr = write_script { - name = "update-sys"; - path = "small_functions"; - dependencies = builtins.attrValues {inherit (pkgs) git nixos-rebuild sudo openssh coreutils mktemp gnugrep gnused;}; - }; - - backsnap-scr = write_script { - name = "backsnap"; - path = "wrappers"; - dependencies = builtins.attrValues {}; # TODO add snap-sync - }; - ll-scr = sysLib.writeShellScriptWithLibraryUnwrapped { - name = "ll"; - src = ./scripts/wrappers/ll; - }; - # TODO this need to be replaced with a wayland alternative - # llp-scr = write_script { - # name = "llp"; - # path = "wrappers"; - # dependencies = builtins.attrValues {inherit (pkgs) lf ueberzug;}; - # }; - spodi-scr = write_script { - name = "spodi"; - path = "wrappers"; - dependencies = builtins.attrValues {inherit (pkgs) gawk expect spotdl fd coreutils;}; - }; - virsh-del-scr = write_script { - name = "virsh-del"; - path = "wrappers"; - dependencies = builtins.attrValues {inherit (pkgs) libvirt;}; - }; - yti-scr = write_script { - name = "yti"; - path = "wrappers"; - dependencies = builtins.attrValues {inherit (pkgs) gawk expect yt-dlp;}; - }; -in [ - aumo-scr - con2pdf-scr - dldragon-scr - gtk-themes-scr - screen_shot-scr - mocs-scr - update-sys-scr - backsnap-scr - ll-scr - # llp-scr # TODO see above - spodi-scr - virsh-del-scr - yti-scr -] |