6 Commits
Author SHA1 Message Date
faumaray 620ae1577d vm gitea runner
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 21:28:40 +03:00
faumaray 6908d4a695 vm gitea runner
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 19:45:23 +03:00
faumaray 079cceb554 update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-10-29 16:02:14 +03:00
Claude b6596250ec Add a nix-ld aspect for foreign binaries and AppImages
Move programs.nix-ld out of the core aspect into modules/dev/nix-ld.nix
and extend the library set (on top of the module defaults) with the
runtime libraries that prebuilt binaries commonly link or dlopen: C++
runtime, compression and crypto, GL/Vulkan/Wayland, audio, fonts, GTK
and Electron-style helpers, and the X11 client libraries. Enable
programs.appimage with binfmt so .AppImage files run directly through
appimage-run. Import the aspect from the desktop host and document it
in the README.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZ16yf4acmaSiHq81vyQ6Z
2026-10-13 00:35:45 +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 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