nixos-config/modules/options/default.nix

25 lines
401 B
Nix

{ lib
, pkgs
, config
, ...
}:
with lib; let
cfg = config.eboskma.var;
in
{
options.eboskma.var = {
mainUser = lib.mkOption {
type = lib.types.str;
default = "erwin";
description = ''
The main system user
'';
};
workSystem = lib.mkOption {
description = "Is this system for work or home?";
type = lib.types.bool;
default = false;
};
};
}