Initiate
This commit is contained in:
29
.gitignore
vendored
Normal file
29
.gitignore
vendored
Normal file
@@ -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
|
||||||
|
*~
|
||||||
|
|
||||||
26
README.md
Normal file
26
README.md
Normal file
@@ -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.
|
||||||
|
|
||||||
1
extensions/steel-browser
Submodule
1
extensions/steel-browser
Submodule
Submodule extensions/steel-browser added at c2f5fd5dc1
1
skills/system-architect/SKILL.md
Symbolic link
1
skills/system-architect/SKILL.md
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/nix/store/01n03vb5bwpkhmlbyd03596h8bnzbasj-home-manager-files/.agents/skills/system-architect/SKILL.md
|
||||||
0
skills/system-architect/references/nixos.md
Normal file
0
skills/system-architect/references/nixos.md
Normal file
Reference in New Issue
Block a user