mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-16 14:39:56 -05:00
Unbitch flake.nix - extract shell scripts to separate files
- Moved all inline shell scripts to packages/scripts/ - Created packages/default.nix for clean package definitions - Reduced flake.nix from 400+ lines to ~80 lines - Maintained all functionality while improving maintainability - All builds and checks still pass
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Package definitions for dots-hyprland utilities
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
scriptsPath = ./scripts;
|
||||
in
|
||||
{
|
||||
update-flake = pkgs.writeShellScriptBin "update-flake"
|
||||
(builtins.readFile "${scriptsPath}/update-flake.sh");
|
||||
|
||||
test-python-env = pkgs.writeShellScriptBin "test-python-env"
|
||||
(builtins.readFile "${scriptsPath}/test-python-env.sh");
|
||||
|
||||
test-quickshell = pkgs.writeShellScriptBin "test-quickshell"
|
||||
(builtins.readFile "${scriptsPath}/test-quickshell.sh");
|
||||
|
||||
compare-modes = pkgs.writeShellScriptBin "compare-modes"
|
||||
(builtins.readFile "${scriptsPath}/compare-modes.sh");
|
||||
}
|
||||
Reference in New Issue
Block a user