feat(homes/rafiq): port over configs
This commit is contained in:
parent
aa06b5f6fd
commit
4c82720251
15 changed files with 440 additions and 2 deletions
11
nix/meta.nix
11
nix/meta.nix
|
@ -6,7 +6,12 @@
|
|||
}:
|
||||
let
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (lib.types) path lazyAttrsOf raw;
|
||||
inherit (lib.types)
|
||||
path
|
||||
lazyAttrsOf
|
||||
raw
|
||||
deferredModule
|
||||
;
|
||||
inherit (inputs.flake-parts.lib) mkSubmoduleOptions;
|
||||
inherit (cfg.lib.attrsets) firstAttrNameMatching;
|
||||
cfg = config.flake;
|
||||
|
@ -29,6 +34,10 @@ in
|
|||
type = lazyAttrsOf raw;
|
||||
default = { };
|
||||
};
|
||||
homes = mkOption {
|
||||
type = lazyAttrsOf deferredModule;
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
config.flake = {
|
||||
paths.secrets = cfg.paths.root + "/secrets";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue