abstract away architectures
This commit is contained in:
parent
8ebf7b68df
commit
9414398f68
8 changed files with 80 additions and 33 deletions
7
lib/options.nix
Normal file
7
lib/options.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkOption;
|
||||
in {
|
||||
mkOpt = type: default: mkOption { inherit type default; };
|
||||
|
||||
mkOpt' = type: default: description: mkOption { inherit type default description; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue