diff options
| author | seth <[email protected]> | 2023-05-25 15:09:08 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-25 15:09:08 -0400 |
| commit | 16589c6ef2cc52f66301a3227f945466942c9b65 (patch) | |
| tree | c10675ae06260335a39e13410db5f7acd38c464f /modules | |
| parent | e0929cdc52e96393d734ddc669cb2e7900eb581a (diff) | |
flake-modules: fixup hydraJobs
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/flake/hydraJobs.nix | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/modules/flake/hydraJobs.nix b/modules/flake/hydraJobs.nix index 800b9a3..57aa3af 100644 --- a/modules/flake/hydraJobs.nix +++ b/modules/flake/hydraJobs.nix @@ -4,16 +4,17 @@ ... }: let inherit (lib) mkOption types; - inherit (flake-parts-lib) mkTransposedPerSystemModule; -in - mkTransposedPerSystemModule { - name = "hydraJobs"; - option = mkOption { - type = types.lazyAttrsOf types.raw; - default = {}; - description = '' - An attribute set containing home-manager homeConfigurations - ''; + inherit (flake-parts-lib) mkSubmoduleOptions; +in { + options = { + flake = mkSubmoduleOptions { + hydraJobs = mkOption { + type = types.lazyAttrsOf types.raw; + default = {}; + description = '' + An attribute set containing home-manager homeConfigurations + ''; + }; }; - file = ./hydraJobs.nix.nix; - } + }; +} |
