Commit graph

4 commits

Author SHA1 Message Date
Daniel Siepmann bfb5e08460
Move custom packages out of overlays
No need for overlays.
Instead create own packages and call them via callPackage.
That will keep them simpler and allows dependency injection.
I can follow existing patterns from nixpkgs, etc.
2022-05-24 18:50:10 +02:00
Daniel Siepmann 0e29711001
Cleanup system script 2022-02-09 19:01:46 +01:00
Daniel Siepmann 02da8f3a62
Lock system before suspending
Otherwise it will not be locked when recovering from suspend.
2022-02-09 17:07:40 +01:00
Daniel Siepmann 9de6cdb3eb
Migrate custom dmenu scripts to writeShellApplication
No longer have all of them as files and apply sed.
Instead define dependencies via nix expression.
Also allow to write the scripts within nix expression.

Some are still large and separate .sh files, but loaded within
expression.
Also only the main file is exposed as others are only dependencies.
Still all can now be installed as all are separate derivations.

The new writeShellApplication also executes shellcheck as another
benefit. And it makes script executable.
2022-02-08 21:45:11 +01:00
Renamed from overlays/dmenu-custom-scripts/src/scripts/system (Browse further)