nixos-config/modules/options/default.nix

26 lines
394 B
Nix
Raw Normal View History

2021-11-21 19:07:12 +01:00
{
2022-03-01 22:19:03 +01:00
lib,
pkgs,
config,
...
}:
with lib; let
cfg = config.eboskma.var;
in {
2021-11-21 19:07:12 +01:00
options.eboskma.var.mainUser = lib.mkOption {
type = lib.types.str;
default = "erwin";
description = ''
The main system user
'';
};
options.eboskma.system = lib.mkOption {
type = lib.types.str;
default = "x86_64-linux";
description = ''
System type
'';
};
}