make .onion domains declarative, site updates, add helpers

This commit is contained in:
root 2025-11-07 03:09:13 +00:00
parent b3d2a34bc0
commit 450a5ce1d6
25 changed files with 341 additions and 109 deletions

View file

@ -3,8 +3,9 @@
#!/bin/sh
nixos-rebuild switch --flake /etc/nixos#distrust --impure
'';
tor-hostname = import ../helpers/tor-hostname.nix {inherit pkgs;};
in {
environment.systemPackages = with pkgs; [vim btop git alejandra statix deadnix] ++ [updateScript];
environment.systemPackages = with pkgs; [vim btop git alejandra statix deadnix] ++ [updateScript tor-hostname];
nix.settings.experimental-features = ["nix-command" "flakes"];