From 7fb686d2ea433bef55cfcae30266c3aeeeff9aca Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 25 Oct 2026 18:53:32 +1300 Subject: feat: Updated claude --- CLAUDE.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'CLAUDE.md') 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 -- cgit v1.3.1