From 37e2184d367b669d994d9bf46e33f67e4ba2337c Mon Sep 17 00:00:00 2001 From: moons Date: Thu, 10 Sep 2026 14:50:54 +0900 Subject: [PATCH] clatd --- AGENTS.md | 2 ++ modules/profiles/README.md | 3 +++ modules/profiles/platform/nixos/meta.nix | 1 + modules/services/clatd/nixos.nix | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 modules/services/clatd/nixos.nix diff --git a/AGENTS.md b/AGENTS.md index 867f6fb..71b84e5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -408,6 +408,8 @@ The profile layers have these responsibilities: niri remain independently selectable and do not imply CLI or personal workloads. - `platform` describes NixOS foundations and physical or virtual form factors. + `platform.nixos` selects the shared network foundation and `services.clatd`; + VM, laptop, and desktop platform profiles inherit both. macOS does not need an empty symmetric platform profile. - `workload` describes optional host uses. `workload.development` and `workload.personal` are cross-platform profiles, not `*-linux` variants. diff --git a/modules/profiles/README.md b/modules/profiles/README.md index 1d46fb2..c4f050b 100644 --- a/modules/profiles/README.md +++ b/modules/profiles/README.md @@ -63,6 +63,9 @@ selects labwc. A daily-use macOS development machine can combine `interface.macos`, `workload.development`, and `workload.personal`. Hardware support does not implicitly select an interface or workload. +`platform.nixos` selects the shared network foundation and the clatd service. +VM, laptop, and desktop platform profiles inherit both. + `interface.minimal` provides SSH client access and key generation, Nano, htop, btop, fastfetch, unzip, wget, Direnv, Git, GnuPG, nh, Zellij, and Zsh for remote administration. `interface.cli` includes that baseline and adds the configured diff --git a/modules/profiles/platform/nixos/meta.nix b/modules/profiles/platform/nixos/meta.nix index 677e933..9c0257a 100644 --- a/modules/profiles/platform/nixos/meta.nix +++ b/modules/profiles/platform/nixos/meta.nix @@ -2,6 +2,7 @@ description = "Foundation shared by all NixOS platforms"; includes = [ + "services.clatd" "services.kmscon" "systems.disko" "systems.boot.base" diff --git a/modules/services/clatd/nixos.nix b/modules/services/clatd/nixos.nix new file mode 100644 index 0000000..6a714de --- /dev/null +++ b/modules/services/clatd/nixos.nix @@ -0,0 +1,3 @@ +_: { + services.clatd.enable = true; +}