refactor profiles
This commit is contained in:
parent
738b86369a
commit
f252b99469
14 changed files with 151 additions and 133 deletions
19
nixos/modules/inputs.nix
Normal file
19
nixos/modules/inputs.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.dadada.inputs;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
dadada.inputs = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.attrs;
|
||||
description = "Flake inputs that should be available inside Nix modules";
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
|
||||
config = { };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue