Fix up for hermes

This commit is contained in:
Paul-Mathias Logue 2025-12-24 17:16:38 +01:00 committed by monologiq
parent abd055702b
commit 4a2dfb8e6e
5 changed files with 58 additions and 14 deletions

View file

@ -66,6 +66,11 @@
default = "769362f6-43d4-4b83-a12c-d006c9bd6613";
};
};
mainUser = lib.mkOption {
type = lib.types.str;
description = "The main user of the machine";
default = "pml";
};
hostName = lib.mkOption {
type = lib.types.str;
description = "The name of the machine";
@ -81,6 +86,23 @@
modules = [
{ system.configurationRevision = self.rev or self.dirtyRev or null; }
./machines/hermes.nix
(
{ lib, ... }:
{
options.machine = {
mainUser = lib.mkOption {
type = lib.types.str;
description = "The main user of the machine";
default = "pml";
};
hostName = lib.mkOption {
type = lib.types.str;
description = "The name of the machine";
default = "hermes";
};
};
}
)
];
};