aboutsummaryrefslogtreecommitdiff
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-10-25 18:53:32 +1300
committerDylan <boss@tehbox.org>2026-10-25 18:53:32 +1300
commit7fb686d2ea433bef55cfcae30266c3aeeeff9aca (patch)
tree4083dea39ff5ec08f19f72b97367fc1533f7723c /CLAUDE.md
parentcc47c443a3f86aa66d2719ee57c0e6e728ee655e (diff)
downloadnixos-configuration-master.tar.gz
nixos-configuration-master.zip
feat: Updated claudeHEADmaster
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 48ed79e..cb2fff0 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -6,22 +6,23 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
A flake-based NixOS + home-manager configuration (nixpkgs/home-manager/stylix pinned to the `26.05` release branches) that defines two hosts:
-- **`nixy`**: the desktop/laptop (ASUS TUF, Intel + NVIDIA PRIME offload). Includes home-manager for user `boss`, stylix theming, and the X11 window managers.
+- **`nixy`**: the desktop/laptop (ASUS TUF, AMD Ryzen + NVIDIA PRIME offload). Includes home-manager for user `boss`, stylix theming, and the X11 window managers.
- **`nixnode`**: a Linode VPS serving `tehbox.org` (nginx vhosts, ACME, the mailserver, cgit at `git.tehbox.org`, the wireguard hub, ZNC, a SuperTuxKart server, and a goaccess dashboard). There is no home-manager here.
## Commands
```bash
-# Rebuild and switch the local machine (nixy). Bash alias: flake-rebuild
-sudo nixos-rebuild switch --flake ~/nixos-configuration # or: nh os switch ~/nixos-configuration
+# Rebuild and switch the local machine (nixy). Use nh; it asks for sudo itself, so run it in a terminal the user can type into
+nh os switch ~/nixos-configuration
+# (plain alternative, not the usual workflow: sudo nixos-rebuild switch --flake ~/nixos-configuration, bash alias flake-rebuild)
# Evaluate/build without switching (the quickest way to check a change)
nixos-rebuild build --flake .#nixy
nix build .#nixosConfigurations.nixnode.config.system.build.toplevel
-# Deploy the server
-./server-rebuild.sh # nixos-rebuild --target-host to nixnode
-deploy .#nixnode # alternative via deploy-rs (interactive sudo)
+# Deploy the server. Use deploy-rs (interactive sudo)
+deploy .#nixnode
+# (alternative, not the usual workflow: ./server-rebuild.sh, nixos-rebuild --target-host to nixnode)
# Flake checks (deploy-rs schema checks)
nix flake check