Commit Graph
15 Commits
Author SHA1 Message Date
Claude c8f8a9bc27 Port shell and Neovim aspects, ignore Serena state
Replace the T3 stubs with the zsh/starship/fzf/zoxide/eza/bat/direnv/btop/fastfetch
aspect (homeManager.shell) and the Neovim aspect (homeManager.neovim, initLua read
from the unchanged init.lua), both ported from 030e97e without the my.home.*
option wrapper. Neovim keeps its own catppuccin setup; Stylix's neovim target
stays off. git.nix and claude-code.nix needed no change: they evaluate, their
home-manager output is valid and the pinned sources build.

Add .serena/ to .gitignore: Serena writes per-project state into every
repository it activates.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 21:10:50 +00:00
Claude 0155afdad7 Port the AMD, ROCm, gaming, VPN and Docker aspects; document the new secrets
Replace the T0 stubs with the old modules' behaviour, one aspect each:
- nixos.amd: graphics (32-bit), amdgpu (initrd, OpenCL, overdrive), microcode,
  kvm-amd, monitoring tools and LACT (the old default).
- nixos.rocm: rocminfo, rocm-smi and /opt/rocm/hip; the desktop host does not
  import it, as before.
- nixos.gaming: Steam, Proton-GE, gamescope (off), gamemode, MangoHud, the
  vm.max_map_count sysctl and the owner's `gamemode` group.
- nixos.vpn: AmneziaVPN and nm-applet; the OpenVPN plugin stays in
  core/networking.nix.
- nixos.docker: rootful and rootless Docker on btrfs and the owner's `docker`
  group.

secrets/secrets.nix gains the recipient entries for gitea-runner-token.age and
tg-ws-proxy-secret.age (additive). secrets/README.md documents both optional
secrets, the exact commands to create them from a pipe, and rotation, because
the old plaintext values are in the git history.

proxy-suite.nix, gitea-runner.nix, secrets.nix and ssh.nix were verified
against the old modules and need no change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 21:09:41 +00:00
Claude 6e2fa1b9e7 Port the desktop aspects: Noctalia, audio, fonts, XDG, apps
Replace the T1 stubs with the real modules, ported from 030e97e without
behaviour changes except the intended theme ones (DESIGN.md section 11).

- noctalia: NixOS half (module, package, recommendedServices, attaches the
  home-manager half to the owner) and home-manager half (user service,
  shell settings). The noctalia flake's modules list home-manager's and
  nixpkgs' own `programs.noctalia` in `disabledModules`, so nothing is
  declared twice. The `theme` block and `font_family` are gone: Stylix's
  noctalia target writes the custom palette `stylix` and the shell font
  (Monaspace Krypton, via the override in theme/stylix.nix).
- audio: PipeWire body unchanged.
- fonts: coverage fonts only; the theme fonts and fontconfig defaults come
  from Stylix.
- xdg, apps: bodies unchanged.

The generated noctalia config.toml builds and passes
`noctalia config validate`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 21:07:34 +00:00
Claude 41cd2f1e65 Update CLAUDE.md overview for the dendritic layout; implementer effort xhigh
The Repository overview now describes the flake-parts + import-tree
structure, the Gitea remote and the new secrets. In the orchestration
policy only the mao-implementer effort cell changes (max -> xhigh), to
match the agent frontmatter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 20:58:09 +00:00
Claude 49b4d02c22 Rewrite README for the dendritic layout, Stylix and Claude Code tools
Describe the flake-parts/import-tree layout (aspects, meta.owner and
meta.secretsDir, osConfig, add an aspect, add a host), the flake outputs,
the Stylix theme with its explicit target list, and the Claude Code aspect
with its non-hermetic parts. Document the two new optional agenix secrets
(Gitea runner token, Telegram proxy secret) and that the old plaintext
values are in git history and must be rotated.

Update the day-2 commands, add a "Verify in a fresh session" section,
point the Secure Boot fallback and the SSD folders at the new host files,
and name Gitea as the canonical remote (GitHub is secondary).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 20:56:28 +00:00
Claude af18420fd3 Switch to the dendritic flake-parts layout, with stubs for phase 2
flake.nix now only declares inputs and calls flake-parts with import-tree
over ./modules: every .nix file under modules/ is a flake-parts module.
Features are aspects (flake.modules.nixos.<name> and
flake.modules.homeManager.<name>); importing an aspect enables it, so the
my.* option modules and their enable flags are gone.

- Add the flake-parts glue: modules/flake/ (systems, shared meta data,
  host construction through configurations.nixos, overlays, packages,
  apps, dev shell, formatter, checks), modules/users/faumaray.nix
  (meta.owner) and modules/core/{nixpkgs,home-manager,install-facts}.nix.
  config.my is kept as one read-only derived option so install-system
  keeps working unchanged.
- Add the aspects that are already final: secrets, ssh, hyprland,
  wezterm, git, stylix, proxy-suite, gitea-runner and claude-code, and
  the desktop host (modules/hosts/desktop/{host,hardware,disks}.nix).
- Port the always-on basics to the `core` aspect (nix, boot, locale,
  networking, users), lanzaboote and plain systemd-boot to the
  `secure-boot` and `systemd-boot` aspects, and the installer ISO to
  modules/installer/iso.nix. Behaviour is unchanged; the time zone,
  default locale, XKB layouts and the firewall setting now live in
  modules/hosts/desktop/host.nix.
- Move the Lua files (Hyprland settings, binds, rules; Neovim init.lua)
  with git mv, byte-identical.
- Add bare stubs, marked STUB, for the aspects that the next phase
  ports: amd, rocm, gaming, vpn, docker, noctalia, audio, fonts, xdg,
  apps, shell and neovim. The host evaluates with them, but those
  features are not configured until they are ported.
- Remove lib/, overlays/, apps/, modules/nixos/, modules/home/,
  modules/installer/default.nix and hosts/desktop/{default,disks,home}.nix.
- flake.lock: add flake-parts, import-tree, stylix and serena with their
  transitive inputs (22 new nodes); every existing pin is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 20:55:34 +00:00
Claude 7dd6853124 Normalize file modes to 644
All tracked files were committed as 755; only Nix reads them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-12 20:41:48 +00:00
faumaray 030e97e2fe uppdate form working nixos
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-12 18:15:38 +03:00
selikhov 04a3fdac28 Add secrets
Signed-off-by: selikhov <selikhov@protei-lab.ru>
2026-10-11 19:39:40 +03:00
Claude 8bf199eebc Add USB install tooling, key/secret helpers, installer ISO, README
- install-system (nix run .#install): disk picker -> disk-ids.json, typed
  confirmation, disko, hardware config, host SSH key + secrets decrypt check,
  sbctl keys, nixos-install, password, repo copy
- create-keys, set-password, secret-from-file, switch-system helpers
- installer ISO (nix build .#iso) with the flake at /etc/nixos-config

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:50:08 +00:00
Claude 76942e77be home-manager: final Hyprland Lua config, Noctalia, WezTerm, Neovim, shell
Fixes found by build/runtime tests: bind conflict on SUPER+CTRL+L,
lualine theme name for catppuccin-nvim 2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:45:37 +00:00
Claude f3660d3505 WIP: home-manager modules and install tooling (in progress, unreviewed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:39:07 +00:00
Claude 0ce9943d56 Add NixOS modules: boot, users, AMD, disko layout, secrets, Hyprland, Steam
- my.disks generates disko: NVMe btrfs (@root/@home/@nix/@log/@swap) + SATA SSD
  btrfs with one subvolume per ~/Games, Downloads, Documents, Music, Pictures,
  Videos, Storage (nofail)
- lanzaboote Secure Boot, systemd initrd, latest kernel
- AMD CPU/GPU: amdgpu initrd, OpenCL, LACT, optional ROCm
- agenix with host-key identity, optional password and SSH key secrets
- Hyprland (UWSM, XWayland) + greetd/tuigreet, Noctalia services, PipeWire, fonts
- Steam + Proton-GE, gamescope, gamemode
- overlays: compose Hyprland's hyprland-packages + hyprland-extras (upstream
  default lacks the hyprwm dependency overlays)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:38:52 +00:00
Claude c76925b3ba flake: drop agenix follows for inputs it no longer has
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:25:51 +00:00
Claude 1427978800 Add multi-agent workflow config and flake skeleton
- CLAUDE.md orchestration policy, .claude/agents/mao-* agents, settings defaults
- flake.nix inputs (nixpkgs-unstable, home-manager, agenix, disko, lanzaboote,
  nixos-hardware, hyprland, noctalia), lib.mkHost/mkInstaller
- overlays: upstream Hyprland overlay, noctalia, additions, modifications
- hosts/desktop: host options (AMD, Secure Boot, Hyprland, gaming)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:23:25 +00:00