PortValhalla/lib/modules/valhalla.nix

65 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, ... }:
2024-07-11 19:58:46 +00:00
let
inherit (lib)
mkOption
types
;
in {
imports = [
2024-07-15 12:11:44 +00:00
./git.nix
2024-07-11 19:58:46 +00:00
./i18n.nix
./partition.nix
./software.nix
2024-07-11 19:58:46 +00:00
];
options = {
valhalla = {
boot = {
efiMountPoint = mkOption {
type = types.str;
description = "The mountpoint of the efi partition.";
default = "/boot";
};
label = mkOption {
type = types.str;
description = "The label of the boot entry.";
default = "OS";
};
};
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
};
};
}