2022-04-27 00:21:19 +02:00
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, config
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.var;
|
2022-04-27 00:21:19 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|