Fix up for hermes
This commit is contained in:
parent
abd055702b
commit
4a2dfb8e6e
5 changed files with 58 additions and 14 deletions
22
flake.nix
22
flake.nix
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue