nixos-config/modules/options/default.nix

26 lines
401 B
Nix
Raw Normal View History

{ lib
, pkgs
, config
, ...
2022-03-01 22:19:03 +01:00
}:
with lib; let
cfg = config.eboskma.var;
in
{
2022-11-14 18:49:06 +01:00
options.eboskma.var = {
mainUser = lib.mkOption {
2021-11-21 19:07:12 +01:00
type = lib.types.str;
default = "erwin";
description = ''
The main system user
'';
2022-11-14 18:49:06 +01:00
};
2021-11-21 19:07:12 +01:00
2022-11-14 18:49:06 +01:00
workSystem = lib.mkOption {
description = "Is this system for work or home?";
type = lib.types.bool;
default = false;
};
2021-11-21 19:07:12 +01:00
};
}