nixos-config/modules/options/default.nix

24 lines
386 B
Nix
Raw Normal View History

2021-11-21 19:07:12 +01:00
{ 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
'';
};
options.eboskma.system = lib.mkOption {
type = lib.types.str;
default = "x86_64-linux";
description = ''
System type
'';
};
}