mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-12-20 06:08:50 +00:00
🚧 Initial work on generating homeConfigurations output + syntax changes
This commit is contained in:
parent
f139b88c0b
commit
f89cbcc552
12 changed files with 131 additions and 106 deletions
22
modules/flake/homes.nix
Normal file
22
modules/flake/homes.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
inputs,
|
||||
puzzlelib,
|
||||
...
|
||||
}: let
|
||||
HomeConfiguration = args: let
|
||||
nixpkgs = inputs.nixpkgs;
|
||||
in
|
||||
inputs.home-manager.lib.homeManagerConfiguration {
|
||||
modules = (puzzlelib.dirToModuleList ../home) ++ args.modules;
|
||||
extraSpecialArgs =
|
||||
{
|
||||
inherit (args) nixpkgs;
|
||||
}
|
||||
// args.extraSpecialArgs;
|
||||
};
|
||||
in {
|
||||
perSystem = {
|
||||
# TODO Dynamically export homeConfigurations by consuming contents of /homes/user-name
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue