nix machine / user configurations
1{ 2 config, 3 lib, 4 ... 5}: 6let 7 l = lib // builtins; 8 t = l.types; 9 cfg = config.settings; 10in 11{ 12 options = { 13 settings.enable = l.mkOption { 14 type = t.bool; 15 default = true; 16 }; 17 settings.terminal = { 18 name = l.mkOption { 19 type = t.str; 20 }; 21 binary = l.mkOption { 22 type = t.path; 23 }; 24 }; 25 }; 26}