Files
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

20 lines
720 B
Nix

# home-manager as a NixOS module. Aspects add their home-manager half to the
# owner (`home-manager.users.<owner>.imports`), so every home-manager module
# also receives `osConfig` (the NixOS configuration) and `inputs`.
{ inputs, ... }:
{
flake.modules.nixos.core = {
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "hm-backup";
# gtk.css and qt6ct.conf may be rewritten by Noctalia's GTK template or qt*ct;
# without this a later switch fails ("would be clobbered") on the old .hm-backup.
overwriteBackup = true;
extraSpecialArgs = { inherit inputs; };
};
};
}