Minor changes

- Redid the flake module to be based on extendModules instead
- Added wrappers
- Refactored code
- Updated dependencies
This commit is contained in:
Nikodem Rabuliński 2023-08-31 22:27:07 +02:00
parent 9661927410
commit ee7223ca36
No known key found for this signature in database
GPG key ID: FF629AA9E08138DB
19 changed files with 468 additions and 97 deletions

26
wrappers/default.nix Normal file
View file

@ -0,0 +1,26 @@
{inputs, ...}: {
perSystem = {
pkgs,
inputs',
...
}: let
argsModule = {
_module.args = {
inherit inputs';
inherit inputs;
};
};
wrapped = inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
inputs.wrapper-manager-hm-compat.wrapperManagerModules.homeManagerCompat
argsModule
./starship
./helix
./rash
];
};
in {
inherit (wrapped.config.build) packages;
};
}