2024-07-16 12:34:32 +00:00
|
|
|
{ lib, ... }:
|
2024-07-11 19:58:46 +00:00
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
mkOption
|
|
|
|
types
|
|
|
|
;
|
|
|
|
in {
|
|
|
|
imports = [
|
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-08-23 16:42:16 +00:00
|
|
|
./packages/git.nix
|
2024-08-23 17:39:18 +00:00
|
|
|
./packages/oh-my-posh.nix
|
2024-08-23 17:14:09 +00:00
|
|
|
./packages/rclone.nix
|
2024-07-11 19:58:46 +00:00
|
|
|
./partition.nix
|
2024-07-16 12:34:32 +00:00
|
|
|
./software.nix
|
2024-07-19 22:45:20 +00:00
|
|
|
./users.nix
|
2024-07-27 23:56:41 +00:00
|
|
|
./windows.nix
|
2024-07-11 19:58:46 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
options = {
|
|
|
|
valhalla = {
|
2024-07-16 20:17:55 +00:00
|
|
|
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;
|
|
|
|
};
|
2024-07-11 20:10:57 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|