added hostname configuration
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
}:
|
||||
{
|
||||
options.homelab.core = {
|
||||
hostname = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "nixos";
|
||||
description = "Hostname of the machine";
|
||||
};
|
||||
|
||||
kernel = lib.mkOption {
|
||||
type = with lib.types; enum (builtins.attrNames shared.kernelOptions);
|
||||
default = "lts";
|
||||
|
||||
Reference in New Issue
Block a user