refactor: move modules to common folder since separation was unsound

This commit is contained in:
oddlama 2023-12-17 17:31:52 +01:00
parent 32ce7fe25d
commit 558f67ee7d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
16 changed files with 15 additions and 22 deletions

View file

@ -1,27 +0,0 @@
{
config,
lib,
...
}: let
inherit
(lib)
mkOption
types
;
in {
options.node = {
name = mkOption {
description = "A unique name for this node (host) in the repository. Defines the default hostname, but this can be overwritten.";
type = types.str;
};
secretsDir = mkOption {
description = "Path to the secrets directory for this node.";
type = types.path;
};
};
config = {
networking.hostName = config.node.name;
};
}