commit 91734b061ea6f65d038460e65d6382c3fe180b01 Author: Sam Rolfe Date: Wed May 6 17:32:40 2026 +1000 Initiate diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..80257a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +# --- Pi Agent Specifics --- +# Ignore local Pi caches and internal data +.pi/ +sessions/ +pi-debug.log +permissions.json + +# --- Node.js / TypeScript Extensions --- +# Ignore dependencies (Pi runs npm install on the Gitea repo automatically) +node_modules/ +dist/ +*.log +npm-debug.log* + +# --- Sensitive Data & Credentials --- +# NEVER push these to Gitea +auth.json +auth.oauth.json +.env +.env.local + +# --- OS & Editor Bloat --- +.DS_Store +Thumbs.db +.vscode/ +.idea/ +*.swp +*~ + diff --git a/README.md b/README.md new file mode 100644 index 0000000..0253f1c --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# ❄️ My NixOS Configuration + +This directory contains the declarative configuration for my user environment, managed by **Home Manager**. + +## 🛠️ How it Works (The Nix Way) + +In NixOS, configuration files are managed "declaratively" rather than manually. + +1. **The Source of Truth**: Everything is defined in your `.nix` files. +2. **The Nix Store**: When you "switch," Nix builds your files and stores them in `/nix/store/`. These are **immutable** (read-only). +3. **Symlinking**: Home Manager creates symbolic links in your home directory (like `~/.pi/agents/settings.json`) that point back to that read-only store. + +## ✍️ How to Make Changes + +**Do not edit the files in your home directory.** They are read-only symlinks. To change settings: + +1. **Edit your source code**: Open `home.nix` in `nvim`. +2. **Modify the Nix block**: Locate the `home.file` section for your agents. +3. **Apply changes**: + ```bash + home-manager switch + ``` + +## ❓ Why "sudo" doesn't work +The `/nix/store` is mounted as read-only at the system level. This ensures your system always matches your config and allows for instant **rollbacks** if something breaks. + diff --git a/extensions/steel-browser b/extensions/steel-browser new file mode 160000 index 0000000..c2f5fd5 --- /dev/null +++ b/extensions/steel-browser @@ -0,0 +1 @@ +Subproject commit c2f5fd5dc1ef7a4c4a0f8f9169176d19f455917b diff --git a/skills/system-architect/SKILL.md b/skills/system-architect/SKILL.md new file mode 120000 index 0000000..02cb4bf --- /dev/null +++ b/skills/system-architect/SKILL.md @@ -0,0 +1 @@ +/nix/store/01n03vb5bwpkhmlbyd03596h8bnzbasj-home-manager-files/.agents/skills/system-architect/SKILL.md \ No newline at end of file diff --git a/skills/system-architect/references/nixos.md b/skills/system-architect/references/nixos.md new file mode 100644 index 0000000..e69de29