Commit Graph
6 Commits
Author SHA1 Message Date
Claude 9407c0e453 Harden secret recipes, document Serena/REA caveats, overwrite stale home-manager backups
The Telegram secret recipes no longer depend on openssl (the host does not
install it): they read 16 bytes from /dev/urandom with od and check the
length before anything is encrypted, so a failure cannot store an empty
secret. README, secrets/README.md and the proxy-suite header and warning
agree.

README: Serena's dashboard is started but not opened and listens on
127.0.0.1 only; the nix-ld note for REA now distinguishes standalone npm
executables from .node add-ons; the Serena pin notes mention the
stdenv.isLinux/isDarwin warnings.

home-manager.overwriteBackup = true so a rewritten gtk.css or qt6ct.conf
does not make a later switch fail on an existing .hm-backup.

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