mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-05-11 22:19:47 +02:00
22 lines
475 B
Nix
22 lines
475 B
Nix
{
|
|
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
|
|
};
|
|
}
|