diff options
| author | seth <[email protected]> | 2023-05-08 00:18:25 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-08 00:18:25 -0400 |
| commit | 150bf82391638a4ea6a514fbd4704bb62ab22eb6 (patch) | |
| tree | 493a04061ec18101aa259d7555496809650831d8 /modules/flake/homeConfigurations.nix | |
| parent | 5d3773f5ce23f0a07f73761d177130d885232a11 (diff) | |
feat: add flake-parts modules
Diffstat (limited to 'modules/flake/homeConfigurations.nix')
| -rw-r--r-- | modules/flake/homeConfigurations.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/flake/homeConfigurations.nix b/modules/flake/homeConfigurations.nix new file mode 100644 index 0000000..b4d966f --- /dev/null +++ b/modules/flake/homeConfigurations.nix @@ -0,0 +1,19 @@ +{ + lib, + flake-parts-lib, + ... +}: let + inherit (lib) mkOption types; + inherit (flake-parts-lib) mkTransposedPerSystemModule; +in + mkTransposedPerSystemModule { + name = "homeConfigurations"; + option = mkOption { + type = types.lazyAttrsOf types.raw; + default = {}; + description = '' + An attribute set containing home-manager homeConfigurations + ''; + }; + file = ./homeConfigurations.nix; + } |
