treewide: initial commit

This commit is contained in:
2026-04-18 16:28:25 -04:00
commit 75532a931c
18 changed files with 1237 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{ config, lib, ... }:
let
cfg = config.host;
inherit (lib) mkOption types;
in
{
options.host = {
name = mkOption { type = types.str; };
};
config = {
environment.variables.HOSTNAME = cfg.name;
networking.hostName = cfg.name;
};
}