Gen 426: Shell script nix files work properly now
This commit is contained in:
@@ -1,84 +1,56 @@
|
||||
{pkgs, ...}: let
|
||||
wall-change = pkgs.writeShellScriptBin "wall-change" (builtins.readFile ./scripts/wall-change.sh);
|
||||
wallpaper-picker = pkgs.writeShellScriptBin "wallpaper-picker" (builtins.readFile ./scripts/wallpaper-picker.sh);
|
||||
{ self, pkgs, ... }:
|
||||
|
||||
runbg = pkgs.writeShellScriptBin "runbg" (builtins.readFile ./scripts/runbg.sh);
|
||||
music = pkgs.writeShellScriptBin "music" (builtins.readFile ./scripts/music.sh);
|
||||
lofi = pkgs.writeScriptBin "lofi" (builtins.readFile ./scripts/lofi.sh);
|
||||
|
||||
splash = pkgs.writeShellScriptBin "splash" (builtins.readFile ./scripts/splash.sh);
|
||||
switchmon = pkgs.writeShellScriptBin "switchmon" (builtins.readFile ./scripts/switchmon.sh);
|
||||
nixswitch = pkgs.writeShellScriptBin "nixswitch" (builtins.readFile ./scripts/nixswitch.sh);
|
||||
garbage-collect = pkgs.writeShellScriptBin "garbage-collect" (builtins.readFile ./scripts/garbage-collect.sh);
|
||||
scheck = pkgs.writeShellScriptBin "scheck" (builtins.readFile ./scripts/s_check.sh);
|
||||
mcd = pkgs.writeShellScriptBin "mcd" (builtins.readFile ./scripts/mcd.sh);
|
||||
crs = pkgs.writeShellScriptBin "crs" (builtins.readFile ./scripts/crs.sh);
|
||||
nixcommit = pkgs.writeShellScriptBin "nixcommit" (builtins.readFile ./scripts/nixcommit.sh);
|
||||
invoke = pkgs.writeShellScriptBin "invoke" (builtins.readFile ./scripts/invoke.sh);
|
||||
nsp = pkgs.writeShellScriptBin "nsp" (builtins.readFile ./scripts/nsp.sh);
|
||||
nixp = pkgs.writeShellScriptBin "nixp" (builtins.readFile ./scripts/nixp.sh);
|
||||
nixr = pkgs.writeShellScriptBin "nixr" (builtins.readFile ./scripts/nixr.sh);
|
||||
homep = pkgs.writeShellScriptBin "homep" (builtins.readFile ./scripts/homep.sh);
|
||||
homer = pkgs.writeShellScriptBin "homer" (builtins.readFile ./scripts/homer.sh);
|
||||
|
||||
|
||||
toggle_blur = pkgs.writeScriptBin "toggle_blur" (builtins.readFile ./scripts/toggle_blur.sh);
|
||||
toggle_oppacity = pkgs.writeScriptBin "toggle_oppacity" (builtins.readFile ./scripts/toggle_oppacity.sh);
|
||||
|
||||
maxfetch = pkgs.writeScriptBin "maxfetch" (builtins.readFile ./scripts/maxfetch.sh);
|
||||
|
||||
compress = pkgs.writeScriptBin "compress" (builtins.readFile ./scripts/compress.sh);
|
||||
extract = pkgs.writeScriptBin "extract" (builtins.readFile ./scripts/extract.sh);
|
||||
|
||||
shutdown-script = pkgs.writeScriptBin "shutdown-script" (builtins.readFile ./scripts/shutdown-script.sh);
|
||||
|
||||
show-keybinds = pkgs.writeScriptBin "show-keybinds" (builtins.readFile ./scripts/keybinds.sh);
|
||||
|
||||
vm-start = pkgs.writeScriptBin "vm-start" (builtins.readFile ./scripts/vm-start.sh);
|
||||
|
||||
ascii = pkgs.writeScriptBin "ascii" (builtins.readFile ./scripts/ascii.sh);
|
||||
|
||||
record = pkgs.writeScriptBin "record" (builtins.readFile ./scripts/record.sh);
|
||||
in {
|
||||
let
|
||||
compress = (import ./compress.nix { self = self; pkgs = pkgs;});
|
||||
crs = (import ./crs.nix { self = self; pkgs = pkgs;});
|
||||
extract = (import ./extract.nix { self = self; pkgs = pkgs;});
|
||||
garbage-collect = (import ./garbage-collect.nix { self = self; pkgs = pkgs;});
|
||||
homep = (import ./homep.nix { self = self; pkgs = pkgs;});
|
||||
homer = (import ./homer.nix { self = self; pkgs = pkgs;});
|
||||
invoke = (import ./invoke.nix { self = self; pkgs = pkgs;});
|
||||
lofi = (import ./lofi.nix { self = self; pkgs = pkgs;});
|
||||
mcd = (import ./mcd.nix { self = self; pkgs = pkgs;});
|
||||
music = (import ./music.nix { self = self; pkgs = pkgs;});
|
||||
nixcommit = (import ./nixcommit.nix { self = self; pkgs = pkgs;});
|
||||
nixp = (import ./nixp.nix { self = self; pkgs = pkgs;});
|
||||
nixr = (import ./nixr.nix { self = self; pkgs = pkgs;});
|
||||
nixswitch = (import ./nixswitch.nix { self = self; pkgs = pkgs;});
|
||||
nsp = (import ./nsp.nix { self = self; pkgs = pkgs;});
|
||||
runbg = (import ./runbg.nix { self = self; pkgs = pkgs;});
|
||||
scheck = (import ./s_check.nix { self = self; pkgs = pkgs;});
|
||||
shutdown-script = (import ./shutdown-script.nix { self = self; pkgs = pkgs;});
|
||||
splash = (import ./splash.nix { self = self; pkgs = pkgs;});
|
||||
switchmon = (import ./switchmon.nix { self = self; pkgs = pkgs;});
|
||||
toggle_blur = (import ./toggle_blur.nix { self = self; pkgs = pkgs;});
|
||||
toggle_float = (import ./toggle_float.nix { self = self; pkgs = pkgs;});
|
||||
toggle_oppacity = (import ./toggle_oppacity.nix { self = self; pkgs = pkgs;});
|
||||
toggle_waybar = (import ./toggle_waybar.nix { self = self; pkgs = pkgs;});
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
splash
|
||||
nixswitch
|
||||
garbage-collect
|
||||
scheck
|
||||
mcd
|
||||
crs
|
||||
nixcommit
|
||||
invoke
|
||||
nsp
|
||||
wall-change
|
||||
wallpaper-picker
|
||||
nixp
|
||||
nixr
|
||||
homep
|
||||
homer
|
||||
|
||||
runbg
|
||||
music
|
||||
lofi
|
||||
|
||||
splash
|
||||
switchmon
|
||||
|
||||
toggle_blur
|
||||
toggle_oppacity
|
||||
|
||||
maxfetch
|
||||
|
||||
compress
|
||||
extract
|
||||
|
||||
shutdown-script
|
||||
|
||||
show-keybinds
|
||||
|
||||
vm-start
|
||||
|
||||
ascii
|
||||
|
||||
record
|
||||
];
|
||||
garbage-collect
|
||||
mcd
|
||||
crs
|
||||
nixcommit
|
||||
invoke
|
||||
nsp
|
||||
nixp
|
||||
nixr
|
||||
homep
|
||||
scheck
|
||||
homer
|
||||
runbg
|
||||
music
|
||||
lofi
|
||||
switchmon
|
||||
toggle_blur
|
||||
toggle_float
|
||||
toggle_oppacity
|
||||
toggle_waybar
|
||||
compress
|
||||
extract
|
||||
shutdown-script
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user