PortValhalla/lib/modules/valhalla.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2024-07-11 19:58:46 +00:00
{ lib, ... }:
let
inherit (lib)
mkOption
types
;
in {
imports = [
./i18n.nix
./partition.nix
];
options = {
valhalla = {
2024-07-13 07:52:30 +00:00
setupUser = {
name = mkOption {
type = types.str;
description = "The name of the user used to set up the system.";
default = "heimdall";
};
id = mkOption {
type = types.int;
description = "The UID of the user used to set up the system.";
default = 420;
};
};
2024-07-11 19:58:46 +00:00
timeZone = mkOption {
type = types.nullOr types.str;
description = "The time zone of the system.";
default = null;
};
2024-07-11 20:05:36 +00:00
keyMap = mkOption {
type = types.nullOr types.str;
description = "The console key map of the system.";
default = null;
};
keyboardLayout = mkOption {
type = types.nullOr types.str;
description = "The X11 keyboard layout of the system.";
default = null;
};
2024-07-11 19:58:46 +00:00
};
};
}