PortValhalla/lib/modules/valhalla.nix

70 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, ... }:
2024-07-11 19:58:46 +00:00
let
inherit (lib)
mkOption
types
;
in {
imports = [
2024-08-23 16:42:16 +00:00
./packages/git.nix
2024-08-23 17:14:09 +00:00
./packages/rclone.nix
2024-08-06 15:23:20 +00:00
./hardware.nix
2024-07-11 19:58:46 +00:00
./i18n.nix
2024-08-23 17:14:09 +00:00
./os.nix
2024-07-11 19:58:46 +00:00
./partition.nix
./software.nix
./users.nix
2024-07-27 23:56:41 +00:00
./windows.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
};
};
}