Add hostName option
This commit is contained in:
parent
b5d23b1ddc
commit
7c553dbf9a
1 changed files with 9 additions and 4 deletions
13
flake.nix
13
flake.nix
|
|
@ -45,27 +45,32 @@
|
|||
{
|
||||
options.machine = {
|
||||
fs = {
|
||||
bootUUID = lib.mkOption {
|
||||
bootUUID = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The UUID of the XBOOTLDR partition.";
|
||||
default = "9c2d7380-571d-4bc5-9ad2-e4888ce351be";
|
||||
};
|
||||
efiUUID = lib.mkOption {
|
||||
efiUUID = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The UUID of the ESP.";
|
||||
default = "71E7-7A63";
|
||||
};
|
||||
luuksUUID = lib.mkOption {
|
||||
luuksUUID = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The UUID of the encrypted root partition.";
|
||||
default = "b0ace3a0-64f0-461e-a604-7f6788384d12";
|
||||
};
|
||||
cryptrootUUID = lib.mkOption {
|
||||
cryptrootUUID = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The UUID of the decrypted root partition.";
|
||||
default = "769362f6-43d4-4b83-a12c-d006c9bd6613";
|
||||
};
|
||||
};
|
||||
hostName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The name of the machine";
|
||||
default = "persephone";
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue