dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
modules/lib/_types.nix (454B)
1## Custom Types ##
2lib: {
3 # Flake configurations
4 configuration = lib.types.submodule {
5 options = {
6 module = lib.mkOption {
7 type = lib.types.deferredModule;
8 };
9
10 defaults = lib.mkOption {
11 description = "Import core system modules";
12 type = lib.types.bool;
13 default = true;
14 };
15
16 system = lib.mkOption {
17 type = lib.types.str;
18 default = "x86_64-linux";
19 };
20 };
21 };
22}