refactor profiles

This commit is contained in:
Tim Schubert 2023-02-04 16:08:50 +01:00
parent 738b86369a
commit f252b99469
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
14 changed files with 151 additions and 133 deletions

19
nixos/modules/inputs.nix Normal file
View 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 = { };
}