Compare commits
56 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 826569ed98 | |||
| af08084692 | |||
| 4f9944101f | |||
| 20d2548791 | |||
| a957fd1372 | |||
| 354791f252 | |||
| fc39e05beb | |||
| e6f184f24a | |||
| 72ef896297 | |||
| 20bd28d567 | |||
| e743808d2b | |||
| c6df5d3836 | |||
| 1544764f37 | |||
| c4fefdd172 | |||
| ee94ebf660 | |||
| 6128d0ae61 | |||
| 22f15abd34 | |||
| 90e417525b | |||
| a455789bee | |||
| 2078d6bccd | |||
| 5cbb975c78 | |||
| f2ecd13780 | |||
| ab1bdc9848 | |||
| 1692a34f6e | |||
| 2403e54039 | |||
| 3e8c95944c | |||
| fbc555feeb | |||
| 6a5d8f0011 | |||
| 9c3d10836f | |||
| a615ab61e8 | |||
| 193b8c0115 | |||
| f76c4dd5d4 | |||
| 05dc6bf608 | |||
| d524864fc3 | |||
| 09e2ba8538 | |||
| a427f319d4 | |||
| 936eb13794 | |||
| 5b0e6cbd5d | |||
| 2302810d11 | |||
| 25ac47a422 | |||
| e6cfcc346b | |||
| 09bc9da6d9 | |||
| eb06533174 | |||
| 30a9a23de2 | |||
| 6d0149ee6e | |||
| d19b87f8cd | |||
| 8f5d076d7b | |||
| 3c9a107608 | |||
| cc01c1d0aa | |||
| d59a6b82b6 | |||
| d44bdad73a | |||
| 797ffb2b8a | |||
| 73bd2b1f2e | |||
| f3749c5679 | |||
| 9908b9e335 | |||
| 1b5bcae686 |
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.2 ---
|
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
@@ -21,4 +21,4 @@ if command -v bd >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.2 ---
|
# --- END BEADS INTEGRATION v1.0.3 ---
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.2 ---
|
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
@@ -21,4 +21,4 @@ if command -v bd >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.2 ---
|
# --- END BEADS INTEGRATION v1.0.3 ---
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.2 ---
|
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
@@ -21,4 +21,4 @@ if command -v bd >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.2 ---
|
# --- END BEADS INTEGRATION v1.0.3 ---
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.2 ---
|
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
@@ -21,4 +21,4 @@ if command -v bd >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.2 ---
|
# --- END BEADS INTEGRATION v1.0.3 ---
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# --- BEGIN BEADS INTEGRATION v1.0.2 ---
|
# --- BEGIN BEADS INTEGRATION v1.0.3 ---
|
||||||
# This section is managed by beads. Do not remove these markers.
|
# This section is managed by beads. Do not remove these markers.
|
||||||
if command -v bd >/dev/null 2>&1; then
|
if command -v bd >/dev/null 2>&1; then
|
||||||
export BD_GIT_HOOK=1
|
export BD_GIT_HOOK=1
|
||||||
@@ -21,4 +21,4 @@ if command -v bd >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
|
||||||
fi
|
fi
|
||||||
# --- END BEADS INTEGRATION v1.0.2 ---
|
# --- END BEADS INTEGRATION v1.0.3 ---
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{"_type":"issue","id":"home-profile-restructuring-edz","title":"Create copy-hermes-skills systemd service","status":"closed","priority":1,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":1,"created_at":"2026-04-26T12:30:10Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:44:42Z","started_at":"2026-04-26T12:36:30Z","closed_at":"2026-04-26T12:44:42Z","close_reason":"Created systemd service in hosts/m3-hermes/services/hermes-agent.nix - copies skills to /var/lib/hermes/.agents/skills before hermes-agent starts","labels":["hermes-agent","nixos"],"dependencies":[{"issue_id":"home-profile-restructuring-edz","depends_on_id":"home-profile-restructuring-ycz","type":"blocks","created_at":"2026-04-26T14:30:57Z","created_by":"m3tm3re","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
|
||||||
|
{"_type":"issue","id":"home-profile-restructuring-ycz","title":"Build hermes-agent skills using mkOpencodeSkills","status":"closed","priority":1,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":2,"created_at":"2026-04-26T12:30:09Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:35:15Z","started_at":"2026-04-26T12:31:35Z","closed_at":"2026-04-26T12:35:15Z","close_reason":"Added inputs to module signature and defined hermesSkills via inputs.agents.lib.mkOpencodeSkills with basecamp, anthropic, and kestra external skills. Verified with nixos-rebuild dry-run --flake .#m3-hermes (no errors).","labels":["hermes-agent","nixos"],"dependency_count":0,"dependent_count":1,"comment_count":0}
|
||||||
|
{"_type":"issue","id":"home-profile-restructuring-cxa","title":"Verify skills available at /var/lib/hermes/.agents/skills","status":"closed","priority":2,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":1,"created_at":"2026-04-26T12:30:10Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:50:58Z","started_at":"2026-04-26T12:38:15Z","closed_at":"2026-04-26T12:50:58Z","close_reason":"Manually verified - skills are present at /var/lib/hermes/.agents/skills on m3-hermes","labels":["hermes-agent","testing"],"dependencies":[{"issue_id":"home-profile-restructuring-cxa","depends_on_id":"home-profile-restructuring-edz","type":"blocks","created_at":"2026-04-26T14:30:57Z","created_by":"m3tm3re","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
||||||
@@ -26,6 +26,7 @@ Thumbs.db
|
|||||||
opencode.json
|
opencode.json
|
||||||
|
|
||||||
# AI agent state
|
# AI agent state
|
||||||
|
.claude/
|
||||||
.sidecar/
|
.sidecar/
|
||||||
.sidecar-*
|
.sidecar-*
|
||||||
.sisyphus/
|
.sisyphus/
|
||||||
@@ -38,3 +39,10 @@ opencode.json
|
|||||||
.cache
|
.cache
|
||||||
.pi*
|
.pi*
|
||||||
.worktrees/
|
.worktrees/
|
||||||
|
docs/plans/
|
||||||
|
CLAUDE.md
|
||||||
|
|
||||||
|
# Beads / Dolt files (added by bd init)
|
||||||
|
.dolt/
|
||||||
|
*.db
|
||||||
|
.beads-credential-key
|
||||||
|
|||||||
@@ -1,274 +1,445 @@
|
|||||||
# NIXOS CONFIGURATION KNOWLEDGE BASE
|
# Agent Instructions
|
||||||
|
|
||||||
**Generated:** 2025-12-31 16:13:40 UTC
|
This project uses **bd** (beads) for issue tracking. Run `bd prime` for full workflow context.
|
||||||
**Commit:** ebc8291
|
|
||||||
**Branch:** HEAD
|
|
||||||
|
|
||||||
## OVERVIEW
|
## Quick Reference
|
||||||
Personal NixOS configuration managing 6 hosts (4 servers, 2 desktops) using flakes, agenix secrets, and feature-based home-manager setup.
|
|
||||||
|
|
||||||
## STRUCTURE
|
```bash
|
||||||
```
|
bd ready # Find available work
|
||||||
./
|
bd show <id> # View issue details
|
||||||
├── flake.nix # Main entry: host definitions, inputs, outputs
|
bd update <id> --claim # Claim work atomically
|
||||||
├── secrets.nix # Agenix public key mappings
|
bd close <id> # Complete work
|
||||||
├── hosts/
|
bd dolt push # Push beads data to remote
|
||||||
│ ├── common/ # Shared: base config, users, extraServices, ports
|
|
||||||
│ ├── m3-atlas/ # Server: 20+ containerized services with Traefik
|
|
||||||
│ ├── m3-helios/ # Server: AdGuard, internal routing
|
|
||||||
│ ├── m3-ares/ # Desktop: NVIDIA GPU, Btrfs
|
|
||||||
│ ├── m3-kratos/ # Desktop: AMD GPU, ZFS
|
|
||||||
│ └── m3-aether/ # Cloud VM
|
|
||||||
├── home/
|
|
||||||
│ ├── common/ # Home-manager base config
|
|
||||||
│ ├── features/ # Modular feature toggles (cli, desktop, coding)
|
|
||||||
│ └── m3tam3re/ # Per-host user configs
|
|
||||||
├── modules/ # Custom NixOS/home-manager modules
|
|
||||||
├── overlays/ # Package overlays (stable, locked, pinned, master)
|
|
||||||
├── pkgs/ # Custom package definitions
|
|
||||||
└── secrets/ # Agenix encrypted .age files (19 secrets)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## WHERE TO LOOK
|
## Non-Interactive Shell Commands
|
||||||
|
|
||||||
| Task | Location | Notes |
|
**ALWAYS use non-interactive flags** with file operations to avoid hanging on confirmation prompts.
|
||||||
|------|----------|-------|
|
|
||||||
| Add new host | `flake.nix` + `hosts/<name>/` | Copy template from m3-atlas (server) or m3-ares (desktop) |
|
|
||||||
| Add service to m3-atlas | `hosts/m3-atlas/services/` | See containers/ for Podman + Traefik pattern |
|
|
||||||
| Configure desktop features | `home/features/desktop/` | Feature toggles with mkEnableOption |
|
|
||||||
| Add CLI tool | `home/features/cli/` | Fish + Nushell integration expected |
|
|
||||||
| Manage secrets | `secrets.nix` + `agenix -e` | SSH keys defined in secrets.nix |
|
|
||||||
| Define ports | `hosts/common/ports.nix` | Centralized port registry |
|
|
||||||
| Add user | `hosts/common/users/` | Shared across all hosts |
|
|
||||||
| Custom packages | `pkgs/default.nix` | Exposed via flake outputs |
|
|
||||||
|
|
||||||
## CONVENTIONS
|
Shell commands like `cp`, `mv`, and `rm` may be aliased to include `-i` (interactive) mode on some systems, causing the agent to hang indefinitely waiting for y/n input.
|
||||||
|
|
||||||
### Secrets (agenix)
|
**Use these forms instead:**
|
||||||
- **Create**: `agenix -e secrets/<name>.age` after adding keys to `secrets.nix`
|
|
||||||
- **Reference**: `config.age.secrets.<name>.path` in service configs
|
|
||||||
- **Pattern**: Service env files use `environmentFiles = [config.age.secrets.<service>-env.path]`
|
|
||||||
|
|
||||||
### Service Organization
|
```bash
|
||||||
- **Native services**: `hosts/<host>/services/<service>.nix`
|
# Force overwrite without prompting
|
||||||
- **Containers**: `hosts/<host>/services/containers/<service>.nix`
|
cp -f source dest # NOT: cp source dest
|
||||||
- **Traefik integration**: All m3-atlas services include dynamic config for SSL + routing
|
mv -f source dest # NOT: mv source dest
|
||||||
- **Networking**: Containers use dedicated `web` network (10.89.0.0/24) with static IPs
|
rm -f file # NOT: rm file
|
||||||
|
|
||||||
### Port Management
|
# For recursive operations
|
||||||
- **Registry**: All ports defined in `hosts/common/ports.nix`
|
rm -rf directory # NOT: rm -r directory
|
||||||
- **Access**: `config.m3ta.ports.get "service-name"`
|
cp -rf source dest # NOT: cp -r source dest
|
||||||
- **Convention**: Internal services use 3000-3020 range
|
```
|
||||||
|
|
||||||
### Home-Manager Features
|
**Other commands that may prompt:**
|
||||||
- **Enable**: `features.<category>.<feature>.enable = true` in user config
|
|
||||||
- **Categories**: `cli`, `desktop`, `coding`
|
|
||||||
- **Pattern**: Features are opt-in modules with default.nix aggregators
|
|
||||||
|
|
||||||
### Multiple nixpkgs Inputs
|
- `scp` - use `-o BatchMode=yes` for non-interactive
|
||||||
- **stable**: 25.11 release
|
- `ssh` - use `-o BatchMode=yes` to fail instead of prompting
|
||||||
- **locked/pinned**: Specific commits for compatibility
|
- `apt-get` - use `-y` flag
|
||||||
- **master**: Bleeding edge
|
- `brew` - use `HOMEBREW_NO_AUTO_UPDATE=1` env var
|
||||||
- **m3ta-nixpkgs**: Custom local overlay at `path:/home/m3tam3re/p/nix/nixpkgs`
|
|
||||||
|
|
||||||
## CODING RULES
|
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:ca08a54f -->
|
||||||
|
|
||||||
This project uses coding rules from the AGENTS repository (`inputs.agents`) plus project-specific conventions.
|
## Beads Issue Tracker
|
||||||
|
|
||||||
### Standard Rules (AGENTS repo)
|
This project uses **bd (beads)** for persistent task tracking. Run `bd prime` for full workflow context.
|
||||||
|
|
||||||
| Rule | Source | Purpose |
|
### Why Beads?
|
||||||
|------|--------|---------|
|
|
||||||
| `languages/nix.md` | AGENTS/rules/ | Nix language conventions, flake patterns |
|
|
||||||
| `concerns/coding-style.md` | AGENTS/rules/ | General coding principles |
|
|
||||||
| `concerns/naming.md` | AGENTS/rules/ | Naming conventions per language |
|
|
||||||
| `concerns/documentation.md` | AGENTS/rules/ | Documentation standards |
|
|
||||||
| `concerns/testing.md` | AGENTS/rules/ | Testing guidelines |
|
|
||||||
| `concerns/git-workflow.md` | AGENTS/rules/ | Commit message format, branch naming |
|
|
||||||
| `concerns/project-structure.md` | AGENTS/rules/ | Project layout conventions |
|
|
||||||
|
|
||||||
### NixOS-Config Specific Rules
|
- **Prefer Beads over ad-hoc markdown TODO lists** — Beads provides structured, queryable, shareable issue tracking with dependency management
|
||||||
|
- **Never use `bd edit`** — it opens an interactive editor which blocks agent workflows
|
||||||
|
- **Use flags and stdin instead** — `bd update <id> --claim`, `bd create --title "..." --estimate 2`
|
||||||
|
|
||||||
#### Project Structure
|
### Slash Commands (Agent Workflow)
|
||||||
|
|
||||||
|
| Command | Purpose |
|
||||||
|
|---------|---------|
|
||||||
|
| `/beads:ready` | Find unblocked issues |
|
||||||
|
| `/beads:create` | Create a new issue |
|
||||||
|
| `/beads:update` | Update an issue (claim, status) |
|
||||||
|
| `/beads:close` | Close completed work |
|
||||||
|
| `/beads:stats` | Project-level snapshot |
|
||||||
|
|
||||||
|
### Core Workflow (6 Steps)
|
||||||
|
|
||||||
|
#### 1. Find Unblocked Work
|
||||||
|
```bash
|
||||||
|
bd ready --json
|
||||||
|
```
|
||||||
|
Lists issues with no blocking dependencies that are ready to work on.
|
||||||
|
|
||||||
|
#### 2. Claim Work
|
||||||
|
```bash
|
||||||
|
bd update <id> --claim
|
||||||
|
```
|
||||||
|
Atomically assigns the issue to you (sets status to "in-progress").
|
||||||
|
|
||||||
|
#### 3. Inspect Details
|
||||||
|
```bash
|
||||||
|
bd show <id>
|
||||||
|
```
|
||||||
|
View full issue details including:
|
||||||
|
- Description and acceptance criteria
|
||||||
|
- Blocking/blocked-by dependencies
|
||||||
|
- Time estimates
|
||||||
|
- Status history
|
||||||
|
|
||||||
|
#### 4. Create Newly Discovered Work
|
||||||
|
```bash
|
||||||
|
# Create a new issue
|
||||||
|
bd create \
|
||||||
|
--title "Fix audio on m3-helios" \
|
||||||
|
--estimate 2 \
|
||||||
|
--priority high \
|
||||||
|
--labels nixos,audio
|
||||||
|
|
||||||
|
# Link dependencies
|
||||||
|
bd dep <id> --blocks <blocked-id> # This issue blocks another
|
||||||
|
bd dep <id> --after <after-id> # This issue after another completes
|
||||||
|
bd dep <id> --requires <requires-id> # This issue requires another
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 5. Complete Work
|
||||||
|
```bash
|
||||||
|
bd close <id> --reason "Added PulseAudio fallback to configuration.nix"
|
||||||
|
```
|
||||||
|
Provide a concise summary of what was done. The `--reason` is mandatory.
|
||||||
|
|
||||||
|
#### 6. Project Snapshot
|
||||||
|
```bash
|
||||||
|
bd status --json # Current state of all issues
|
||||||
|
bd stats # Metrics: velocity, cycle time, bottlenecks
|
||||||
|
```
|
||||||
|
|
||||||
|
### Example Complete Workflow
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Start session - find work
|
||||||
|
bd ready --json
|
||||||
|
|
||||||
|
# Claim available issue
|
||||||
|
bd update 42 --claim
|
||||||
|
|
||||||
|
# Do the work...
|
||||||
|
|
||||||
|
# Discover something else needed
|
||||||
|
bd create --title "Document hermes-agent setup" --estimate 1
|
||||||
|
# Link as related
|
||||||
|
bd dep 43 --after 42
|
||||||
|
|
||||||
|
# Complete original
|
||||||
|
bd close 42 --reason "Added Hyprland idle timeout config"
|
||||||
|
|
||||||
|
# Close related
|
||||||
|
bd close 43 --reason "Added setup docs to AGENTS.md"
|
||||||
|
|
||||||
|
# Push state to remote
|
||||||
|
bd dolt push
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rules
|
||||||
|
|
||||||
|
- Use `bd` for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
|
||||||
|
- Run `bd prime` for detailed command reference and session close protocol
|
||||||
|
- Use `bd remember` for persistent knowledge — do NOT use MEMORY.md files
|
||||||
|
|
||||||
|
## Session Completion
|
||||||
|
|
||||||
|
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
|
||||||
|
|
||||||
|
**MANDATORY WORKFLOW:**
|
||||||
|
|
||||||
|
1. **File issues for remaining work** - Create issues for anything that needs follow-up
|
||||||
|
2. **Run quality gates** (if code changed) - Tests, linters, builds
|
||||||
|
3. **Update issue status** - Close finished work, update in-progress items
|
||||||
|
4. **PUSH TO REMOTE** - This is MANDATORY:
|
||||||
|
```bash
|
||||||
|
git pull --rebase
|
||||||
|
bd dolt push
|
||||||
|
git push
|
||||||
|
git status # MUST show "up to date with origin"
|
||||||
|
```
|
||||||
|
5. **Clean up** - Clear stashes, prune remote branches
|
||||||
|
6. **Verify** - All changes committed AND pushed
|
||||||
|
7. **Hand off** - Provide context for next session
|
||||||
|
|
||||||
|
**CRITICAL RULES:**
|
||||||
|
|
||||||
|
- Work is NOT complete until `git push` succeeds
|
||||||
|
- NEVER stop before pushing - that leaves work stranded locally
|
||||||
|
- NEVER say "ready to push when you are" - YOU must push
|
||||||
|
- If push fails, resolve and retry until it succeeds
|
||||||
|
<!-- END BEADS INTEGRATION -->
|
||||||
|
|
||||||
|
# Project Agent
|
||||||
|
|
||||||
|
**Workspace Path:** `/home/m3tam3re/p/NIX/nixos-config`
|
||||||
|
_(Note to Pi: Your file write/edit tools run in a different directory by default. You MUST use absolute paths starting with the Workspace Path above for ALL file operations!)_
|
||||||
|
|
||||||
|
**Generated:** 2026-04-26
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Stack
|
||||||
|
|
||||||
|
| Component | Version/Source |
|
||||||
|
| ---------------- | --------------------------------- |
|
||||||
|
| **Nixpkgs** | nixos-unstable + 25.05 stable |
|
||||||
|
| **Home Manager** | github:nix-community/home-manager |
|
||||||
|
| **m3ta-home** | code.m3ta.dev/m3tam3re/m3ta-home |
|
||||||
|
| **m3ta-nixpkgs** | code.m3ta.dev/m3tam3re/nixpkgs |
|
||||||
|
| **Agenix** | github:ryantm/agenix |
|
||||||
|
| **Disko** | github:nix-community/disko |
|
||||||
|
| **NUR** | github:nix-community/NUR |
|
||||||
|
| **Formatter** | alejandra |
|
||||||
|
| **Linters** | statix, deadnix |
|
||||||
|
| **IDE** | nixd |
|
||||||
|
| **Hermes Agent** | NousResearch/hermes-agent |
|
||||||
|
| **LLM Agents** | numtide/llm-agents.nix |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
nixos-config/
|
nixos-config/
|
||||||
├── flake.nix # Entry point
|
├── flake.nix # Entry point: hosts, overlays, dev shells, m3ta-home input
|
||||||
├── hosts/ # Host-specific NixOS configs
|
├── coding-rules.json # Opencode rules configuration
|
||||||
│ ├── common/ # Shared: ports, users, base config
|
│
|
||||||
│ ├── m3-atlas/ # Server with Traefik hub
|
├── hosts/ # Per-host NixOS configurations
|
||||||
│ ├── m3-helios/ # AdGuard DNS
|
│ ├── common/ # Shared across all hosts
|
||||||
│ ├── m3-ares/ # Desktop (NVIDIA)
|
│ │ ├── users/
|
||||||
│ └── m3-kratos/ # Desktop (AMD)
|
│ │ │ └── m3tam3re.nix # ← Central user + m3ta-home integration
|
||||||
├── home/ # Home-manager configs
|
│ │ ├── default.nix # Shared NixOS settings, overlays, home-manager setup
|
||||||
│ ├── common/ # Shared home config
|
│ │ ├── ports.nix # Network ports config
|
||||||
│ ├── features/ # Feature modules (cli, desktop, coding)
|
│ │ └── extraServices/ # Common service toggles
|
||||||
│ └── m3tam3re/ # User-specific configs
|
│ ├── m3-ares/ # TUXEDO laptop (desktop)
|
||||||
├── modules/ # Custom NixOS/HM modules
|
│ │ └── home.nix # Hyprland: eDP-1 + HDMI, XDG/MIME
|
||||||
├── overlays/ # Package overlays
|
│ ├── m3-kratos/ # AMD desktop (desktop)
|
||||||
|
│ │ └── home.nix # Hyprland: dual DP, XDG/MIME
|
||||||
|
│ ├── m3-daedalus/ # Portable laptop (desktop, no Hyprland)
|
||||||
|
│ │ └── home.nix # XDG/MIME only
|
||||||
|
│ ├── m3-atlas/ # Primary server (server + coding)
|
||||||
|
│ ├── m3-helios/ # AdGuard DNS server (minimal server)
|
||||||
|
│ ├── m3-hermes/ # Secondary server (minimal server)
|
||||||
|
│ └── m3-aether/ # Cloud VM (minimal server)
|
||||||
|
│
|
||||||
|
├── modules/ # Reusable NixOS modules
|
||||||
|
│ └── nixos/ # NixOS-specific modules
|
||||||
|
│
|
||||||
|
├── overlays/ # Package overlays (stable/locked/master/pinned)
|
||||||
|
│ ├── default.nix
|
||||||
|
│ └── mods/
|
||||||
|
│
|
||||||
├── pkgs/ # Custom packages
|
├── pkgs/ # Custom packages
|
||||||
└── secrets/ # Agenix encrypted secrets
|
│
|
||||||
|
├── secrets/ # Encrypted secrets (agenix)
|
||||||
|
│ └── secrets.nix
|
||||||
|
│
|
||||||
|
├── .opencode-rules/ # Opencode AI rules
|
||||||
|
│ ├── concerns/
|
||||||
|
│ ├── languages/nix.md
|
||||||
|
│ └── USAGE.md
|
||||||
|
│
|
||||||
|
└── .pi/ # Agent configuration
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Naming Conventions
|
### Home-Manager Integration
|
||||||
|
|
||||||
| Type | Convention | Example |
|
Home-Manager configs are managed centrally in the **`m3ta-home`** repository:
|
||||||
|------|------------|---------|
|
- **Repo**: `code.m3ta.dev/m3tam3re/m3ta-home`
|
||||||
| Hosts | mythological-names | `m3-atlas`, `m3-helios` |
|
- **Docs**: See m3ta-home README for full documentation
|
||||||
| Files | hyphen-case | `my-service.nix` |
|
|
||||||
| Variables | camelCase | `portHelpers`, `serviceConfig` |
|
|
||||||
| Options | m3ta.* | `config.m3ta.ports.get` |
|
|
||||||
| Packages | lowercase-hyphen | `hyprpaper-random` |
|
|
||||||
|
|
||||||
#### Nix Module Pattern
|
What lives where:
|
||||||
|
|
||||||
|
| Concern | Location | Why |
|
||||||
|
|---------|----------|-----|
|
||||||
|
| Shell, CLI tools, editors, apps | `m3ta-home/profiles/` | Portable across all hosts |
|
||||||
|
| User identity (git, SSH, JJ) | `m3ta-home/users/` | Switchable: private vs work |
|
||||||
|
| Feature flags (enable/disable) | `nixos-config/hosts/common/users/m3tam3re.nix` | Per-host decisions |
|
||||||
|
| Monitor layouts, window rules | `nixos-config/hosts/<name>/home.nix` | Hardware-specific |
|
||||||
|
| XDG/MIME defaults | `nixos-config/hosts/<name>/home.nix` | Host-specific preferences |
|
||||||
|
| NixOS overlays | `nixos-config/overlays/` | System-level package management |
|
||||||
|
|
||||||
|
#### Host → Profile Mapping
|
||||||
|
|
||||||
|
Defined in `hosts/common/users/m3tam3re.nix`:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
hostProfiles = {
|
||||||
|
# Desktop hosts
|
||||||
|
m3-ares = { context = "desktop"; sets = ["coding" "gaming" "media"]; };
|
||||||
|
m3-kratos = { context = "desktop"; sets = ["coding" "gaming" "media"]; };
|
||||||
|
m3-daedalus = { context = "desktop"; sets = ["coding" "media"]; };
|
||||||
|
# Server hosts
|
||||||
|
m3-atlas = { context = "server"; sets = ["coding"]; };
|
||||||
|
m3-helios = { context = "server"; sets = []; };
|
||||||
|
m3-hermes = { context = "server"; sets = []; };
|
||||||
|
m3-aether = { context = "server"; sets = []; };
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Work Identity Use Case
|
||||||
|
|
||||||
|
The same `m3ta-home` repo supports a **work identity** for company machines:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
# On a work NixOS machine:
|
||||||
|
(m3ta-lib.mkHome {
|
||||||
|
user = "m3tam3re";
|
||||||
|
identity = "work"; # ← switches git to sascha.koenig, SSH to AZ hosts
|
||||||
|
context = "desktop";
|
||||||
|
sets = ["coding"];
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
This provides the familiar shell/editor/CLI setup but with work git credentials and SSH configuration.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Commands
|
||||||
|
|
||||||
|
| Action | Command | Notes |
|
||||||
|
| -------------------- | ---------------------------------------------------------------------- | ------------------------------------------------- |
|
||||||
|
| **Enter dev shell** | `nix develop` | Includes alejandra, nixd, agenix, statix, deadnix |
|
||||||
|
| **Build host** | `sudo nixos-rebuild switch --flake .#m3-ares` | Replace hostname as needed |
|
||||||
|
| **Dry run build** | `sudo nixos-rebuild dry-run --flake .#m3-ares` | Validate without applying |
|
||||||
|
| **List hosts** | `nix flake show` | Shows all NixOS configurations |
|
||||||
|
| **Update flake** | `sudo nixos-rebuild switch --flake .#m3-ares --update-input nixpkgs` | Update specific input |
|
||||||
|
| **Format code** | `alejandra .` | Run before committing |
|
||||||
|
| **Check lint** | `statix check .` | Run statix for antipatterns |
|
||||||
|
| **Remove dead code** | `deadnix -w .` | Clean up unused let bindings |
|
||||||
|
| **Build ISO** | `nix build .#nixosConfigurations.m3-ares.config.system.build.isoImage` | Generate install ISO |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Conventions
|
||||||
|
|
||||||
|
### Formatting & Style
|
||||||
|
|
||||||
|
- **Formatter:** `alejandra` (mandatory, run before commits)
|
||||||
|
- **Indentation:** 2 spaces (alejandra default)
|
||||||
|
- **Variables:** camelCase (e.g., `maxRetryAttempts`)
|
||||||
|
- **Types/Modules:** PascalCase (e.g., `MyService`)
|
||||||
|
- **Constants:** UPPER_SNAKE_CASE (e.g., `MAX_RETRIES`)
|
||||||
|
- **Files:** hyphen-case (e.g., `my-file.nix`)
|
||||||
|
|
||||||
|
### Nix Module Patterns
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
with lib; let
|
{
|
||||||
cfg = config.m3ta.myModule;
|
options.myService.enable = lib.mkEnableOption "my service";
|
||||||
in {
|
config = lib.mkIf config.myService.enable {
|
||||||
options.m3ta.myModule = {
|
services.myService.enable = true;
|
||||||
enable = mkEnableOption "my module";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
# Configuration here
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Anti-Patterns (Never Do)
|
### Conditionals
|
||||||
|
|
||||||
| Don't | Do Instead |
|
|
||||||
|-------|------------|
|
|
||||||
| Hardcode ports | `config.m3ta.ports.get "service"` |
|
|
||||||
| Skip secrets.nix update | Add keys first, then `agenix -e` |
|
|
||||||
| Containers outside web network | `--network=web --ip=10.89.0.N` |
|
|
||||||
| Skip Traefik for public services | Configure dynamic config |
|
|
||||||
| Bypass extraServices flags | Use feature flags properly |
|
|
||||||
| Use `fetchTarball` | Use flake inputs |
|
|
||||||
| Use `with pkgs;` in modules | Explicit `pkgs.package` |
|
|
||||||
|
|
||||||
### Formatting & Linting
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Format (alejandra)
|
|
||||||
nix fmt
|
|
||||||
|
|
||||||
# Lint (statix, deadnix - only in dev shell)
|
|
||||||
nix develop
|
|
||||||
statix check .
|
|
||||||
deadnix .
|
|
||||||
|
|
||||||
# Validate flake
|
|
||||||
nix flake check
|
|
||||||
```
|
|
||||||
|
|
||||||
### Commit Conventions
|
|
||||||
|
|
||||||
Format: `<type>: <brief description>`
|
|
||||||
|
|
||||||
Types: `feat`, `fix`, `docs`, `style`, `refactor`, `chore`
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
- `feat: add new host m3-hermes`
|
|
||||||
- `fix: resolve port conflict in mem0 module`
|
|
||||||
- `docs: update AGENTS.md with new service`
|
|
||||||
- `style: format nix files`
|
|
||||||
- `refactor: simplify port management`
|
|
||||||
- `chore: update nixpkgs inputs`
|
|
||||||
|
|
||||||
### Tools in Dev Shell
|
|
||||||
|
|
||||||
| Tool | Purpose |
|
|
||||||
|------|---------|
|
|
||||||
| `alejandra` | Nix code formatter |
|
|
||||||
| `nixd` | Nix language server |
|
|
||||||
| `statix` | Nix linter |
|
|
||||||
| `deadnix` | Find dead code |
|
|
||||||
| `agenix` | Secret management |
|
|
||||||
|
|
||||||
## COMMANDS
|
|
||||||
```bash
|
|
||||||
# Build/deploy specific host
|
|
||||||
sudo nixos-rebuild switch --flake .#m3-ares
|
|
||||||
|
|
||||||
# Build/deploy current host
|
|
||||||
sudo nixos-rebuild switch --flake .#$(uname -n)
|
|
||||||
|
|
||||||
# Home-manager update
|
|
||||||
home-manager --flake . switch
|
|
||||||
|
|
||||||
# Update all flake inputs
|
|
||||||
nix flake update
|
|
||||||
|
|
||||||
# Add/edit secret
|
|
||||||
agenix -e secrets/<name>.age
|
|
||||||
|
|
||||||
# Infrastructure shell (OpenTofu)
|
|
||||||
nix develop .#infraShell
|
|
||||||
|
|
||||||
# Check configuration (no activation)
|
|
||||||
nixos-rebuild dry-build --flake .#<hostname>
|
|
||||||
```
|
|
||||||
|
|
||||||
## TRAEFIK PATTERNS (m3-atlas only)
|
|
||||||
|
|
||||||
### SSL Termination
|
|
||||||
- **Provider**: Godaddy DNS challenge
|
|
||||||
- **Cert storage**: `/var/lib/traefik/acme.json`
|
|
||||||
- **Config**: `hosts/m3-atlas/services/traefik.nix`
|
|
||||||
|
|
||||||
### Service Integration Template
|
|
||||||
```nix
|
```nix
|
||||||
services.traefik.dynamicConfigOptions.http = {
|
config = lib.mkMerge [
|
||||||
services.<name>.loadBalancer.servers = [{ url = "http://127.0.0.1:<port>"; }];
|
(lib.mkIf cfg.enable { ... })
|
||||||
routers.<name> = {
|
(lib.mkIf cfg.extraConfig { ... })
|
||||||
rule = "Host(`<subdomain>.m3ta.dev`)";
|
];
|
||||||
service = "<name>";
|
|
||||||
tls.certResolver = "godaddy";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Container Pattern
|
### Anti-Patterns (AVOID)
|
||||||
- **Network**: `--network=web --ip=10.89.0.<sequential>`
|
|
||||||
- **Ports**: Bind localhost only (`127.0.0.1:<external>:<internal>`)
|
|
||||||
- **Database access**: `--add-host=mysql:10.89.0.1` (gateway IP)
|
|
||||||
|
|
||||||
## HOST ROLES
|
- **Never use `with pkgs;`** — always use explicit package references
|
||||||
|
- **Never use `builtins.fetchTarball`** — use flake inputs instead
|
||||||
|
- **Never use `import <nixpkgs>`** — always use inputs
|
||||||
|
- **Never use `builtins.getAttr/hasAttr`** — use `lib.attrByPath` or `lib.optionalAttrs`
|
||||||
|
- **Avoid anonymous functions in config** — extract to named lets
|
||||||
|
|
||||||
| Host | Type | Hardware | Purpose |
|
### Imports
|
||||||
|------|------|----------|---------|
|
|
||||||
| m3-atlas | Server | x86_64, disko | 20+ services, Traefik hub, PostgreSQL, MySQL |
|
|
||||||
| m3-helios | Server | x86_64, disko | AdGuard DNS, internal routing |
|
|
||||||
| m3-ares | Desktop | NVIDIA, Btrfs | Personal workstation, n8n, PostgreSQL |
|
|
||||||
| m3-kratos | Desktop | AMD, ZFS | Workstation, mem0, PostgreSQL |
|
|
||||||
| m3-aether | Cloud | QEMU | General purpose VM |
|
|
||||||
| m3-daedalus | Laptop | home-only | Portable (no full NixOS config) |
|
|
||||||
|
|
||||||
## ANTI-PATTERNS (THIS PROJECT)
|
- Use flake inputs for dependencies (e.g., `inputs.home-manager.nixosModules.home-manager`)
|
||||||
|
- Import relative paths with `./` or `../`
|
||||||
|
- Never use absolute paths in imports
|
||||||
|
|
||||||
- **DON'T** add secrets to `secrets/` without updating `secrets.nix` public keys
|
### Secrets
|
||||||
- **DON'T** hardcode ports - use `config.m3ta.ports.get` or add to registry
|
|
||||||
- **DON'T** create containers outside the `web` network on m3-atlas
|
|
||||||
- **DON'T** skip Traefik config for public-facing services on m3-atlas
|
|
||||||
- **DON'T** bypass extraServices flags - use `hosts/common/extraServices/` pattern
|
|
||||||
- **DON'T** commit unencrypted secrets or test with real credentials
|
|
||||||
|
|
||||||
## UNIQUE TO THIS CONFIG
|
- Secrets managed via **agenix** in `secrets/` directory
|
||||||
|
- Never commit plaintext secrets
|
||||||
|
- Use `.nix` extension for secret files
|
||||||
|
|
||||||
- **Custom m3ta-nixpkgs**: Local overlay for unreleased/patched packages
|
### Flake Input URLs
|
||||||
- **extraServices abstraction**: Boolean flags to toggle Podman, Ollama, virtualisation per host
|
|
||||||
- **Mythological naming**: All hosts named after Greek mythology
|
|
||||||
- **Dual domain strategy**: New services on `m3ta.dev`, legacy redirects from `m3tam3re.com`
|
|
||||||
- **Per-host nixpkgs versions**: Different hosts can use different nixpkgs commits via specialArgs
|
|
||||||
- **Container IP registry**: Static IP assignments in 10.89.0.0/24 subnet for predictable networking
|
|
||||||
|
|
||||||
## NOTES
|
All `code.m3ta.dev` inputs use **SSH** URLs:
|
||||||
|
```nix
|
||||||
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/<repo>";
|
||||||
|
```
|
||||||
|
Anonymous HTTPS git on Gitea is unreliable and prompts for auth. SSH works with configured keys.
|
||||||
|
|
||||||
- m3-atlas is the service hub - most complex configuration
|
---
|
||||||
- Secrets require host SSH keys defined in `secrets.nix` before `agenix -e` works
|
|
||||||
- Fish and Nushell both configured - choose per-user with shell aliases
|
## Key Files
|
||||||
- Color scheme (Dracula) applied via nix-colors across all visual tools
|
|
||||||
- See subdirectory AGENTS.md for deep dives on containers, desktop features, CLI tools
|
| File | Purpose |
|
||||||
|
| ---------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
|
| `flake.nix` | Central entry point defining all hosts, overlays, packages, dev shells, and nixpkgs config |
|
||||||
|
| `hosts/common/default.nix` | Shared Nix settings, nixpkgs overlays, home-manager setup (`useGlobalPkgs = true`) |
|
||||||
|
| `hosts/common/users/m3tam3re.nix` | User definition + m3ta-home mkHome integration + per-host feature flags |
|
||||||
|
| `hosts/<name>/home.nix` | Host-specific overrides: monitors, workspaces, window rules, XDG/MIME |
|
||||||
|
| `overlays/default.nix` | Package version overrides (stable/locked/master branches) |
|
||||||
|
| `.opencode-rules/languages/nix.md` | Nix-specific conventions and patterns |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What to Avoid
|
||||||
|
|
||||||
|
1. **Don't modify `flake.lock`** directly — use `nix flake update`
|
||||||
|
2. **Don't use impure operations** — this is a pure flake-based config
|
||||||
|
3. **Don't commit without formatting** — always run `alejandra .` first
|
||||||
|
4. **Don't add packages to hosts directly** — prefer adding to overlays or using NUR
|
||||||
|
5. **Don't hardcode paths** — use `inputs` and relative imports
|
||||||
|
6. **Don't create monolithic modules** — keep functions under 20 lines
|
||||||
|
7. **Don't skip the dry-run** — always test with `--dry-run` before switching
|
||||||
|
8. **Don't use lib.mkDefault lightly** — understand the precedence implications
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
### Adding a New Host
|
||||||
|
|
||||||
|
1. Add entry to `flake.nix` → `nixosConfigurations`
|
||||||
|
2. Create directory in `hosts/` with:
|
||||||
|
- `default.nix` — imports common + specific configs
|
||||||
|
- `configuration.nix` — host-specific system config
|
||||||
|
- `hardware-configuration.nix` — from `nixos-generate-config`
|
||||||
|
- `programs.nix`, `services/`, `secrets.nix` as needed
|
||||||
|
3. Add entry to `hostProfiles` in `hosts/common/users/m3tam3re.nix`
|
||||||
|
4. Add feature flags in the `hostFlags` section
|
||||||
|
5. Create `hosts/<name>/home.nix` if the host needs monitor/XDG overrides
|
||||||
|
6. Run `sudo nixos-generate-config --dir ./hosts/new-host` first time
|
||||||
|
|
||||||
|
### Adding a New Package
|
||||||
|
|
||||||
|
1. For simple packages: add to appropriate overlay in `overlays/default.nix`
|
||||||
|
2. For complex packages: create in `pkgs/` directory
|
||||||
|
3. For upstream packages: use NUR or add as flake input
|
||||||
|
|
||||||
|
### Adding a New Home-Manager Feature
|
||||||
|
|
||||||
|
1. Create the module in `m3ta-home` under the appropriate profile directory
|
||||||
|
2. Add the import to the parent `default.nix` in m3ta-home
|
||||||
|
3. Enable it per-host via feature flags in `hosts/common/users/m3tam3re.nix`
|
||||||
|
|
||||||
|
### Development Workflow
|
||||||
|
|
||||||
|
1. Edit config files
|
||||||
|
2. Run `alejandra .` to format
|
||||||
|
3. Run `statix check .` for linting
|
||||||
|
4. Run `sudo nixos-rebuild dry-run --flake .#m3-ares`
|
||||||
|
5. If successful: `sudo nixos-rebuild switch --flake .#m3-ares`
|
||||||
|
|
||||||
|
### Remote Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Build on remote machine
|
||||||
|
nix copy --to ssh://user@host .#nixosConfigurations.m3-ares.config.system.build.toplevel
|
||||||
|
ssh user@host 'sudo nixos-rebuild switch --flake /nix/store/...-closure'
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,191 +0,0 @@
|
|||||||
# Agenix Secret Management Guide
|
|
||||||
|
|
||||||
A guide for creating and managing encrypted secrets using agenix in the nixos-config project.
|
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
|
|
||||||
- SSH key pair (ed25519 or rsa) in `~/.ssh/`
|
|
||||||
- Access to the nixos-config repository
|
|
||||||
- Secret added to `secrets.nix` with appropriate public keys
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Creating a New Secret
|
|
||||||
|
|
||||||
### Step 1: Add Secret to secrets.nix
|
|
||||||
|
|
||||||
Edit `secrets.nix` and add a new entry:
|
|
||||||
|
|
||||||
```nix
|
|
||||||
"secrets/<your-secret-name>.age".publicKeys = systems ++ users;
|
|
||||||
```
|
|
||||||
|
|
||||||
Where:
|
|
||||||
- `<your-secret-name>` is the desired filename (without `.age`)
|
|
||||||
- `systems` = hosts that can decrypt this secret
|
|
||||||
- `users` = users that can decrypt this secret
|
|
||||||
|
|
||||||
Example:
|
|
||||||
```nix
|
|
||||||
"secrets/my-service-api-key.age".publicKeys = systems ++ users;
|
|
||||||
```
|
|
||||||
|
|
||||||
### Step 2: Create the Encrypted Secret
|
|
||||||
|
|
||||||
Navigate to the nixos-config directory:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd ~/p/NIX/nixos-config
|
|
||||||
```
|
|
||||||
|
|
||||||
Generate a secure random token (if needed):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
head -c 32 /dev/urandom | base64 | tr -d '\n'
|
|
||||||
```
|
|
||||||
|
|
||||||
Or use a specific value:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
echo -n "your-secret-value-here" > /tmp/token.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
Encrypt and create the secret file:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cat /tmp/token.txt | RULES=./secrets.nix nix develop . --command sh -c 'agenix -e secrets/<your-secret-name>.age'
|
|
||||||
```
|
|
||||||
|
|
||||||
The `-e` flag encrypts stdin content into the age file. If no stdin is provided, agenix opens your editor.
|
|
||||||
|
|
||||||
### Step 3: Verify the Secret
|
|
||||||
|
|
||||||
Decrypt to verify:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
RULES=./secrets.nix nix develop . --command agenix -d secrets/<your-secret-name>.age
|
|
||||||
```
|
|
||||||
|
|
||||||
You should see your secret value printed to stdout.
|
|
||||||
|
|
||||||
### Step 4: Use in NixOS Configuration
|
|
||||||
|
|
||||||
Reference the secret in your service config:
|
|
||||||
|
|
||||||
```nix
|
|
||||||
{ config, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# For environment files
|
|
||||||
environmentFiles = [ config.age.secrets."my-secret-name".path ];
|
|
||||||
|
|
||||||
# For file-based secrets
|
|
||||||
environmentFile = config.age.secrets."my-secret-name".path;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
The secret will be available at `/run/agenix/<your-secret-name>` when the system builds.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Common Patterns
|
|
||||||
|
|
||||||
### Token-Based Registration (e.g., Tuwunel)
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# secrets.nix
|
|
||||||
"secrets/tuwunel-registration-token.age".publicKeys = systems ++ users;
|
|
||||||
```
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# services/tuwunel.nix
|
|
||||||
settings.global = {
|
|
||||||
allow_registration = true;
|
|
||||||
registration_token_file = config.age.secrets."tuwunel-registration-token".path;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
### API Keys via Environment Files
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# secrets.nix
|
|
||||||
"secrets/my-service-env.age".publicKeys = systems ++ users;
|
|
||||||
```
|
|
||||||
|
|
||||||
Create `my-service-env.age` containing:
|
|
||||||
```
|
|
||||||
MY_SERVICE_API_KEY=your-key-here
|
|
||||||
DATABASE_URL=postgres://...
|
|
||||||
```
|
|
||||||
|
|
||||||
Reference in config:
|
|
||||||
```nix
|
|
||||||
environmentFiles = [ config.age.secrets."my-service-env".path ];
|
|
||||||
```
|
|
||||||
|
|
||||||
### File-Based Secrets
|
|
||||||
|
|
||||||
For binary files or specific file paths:
|
|
||||||
|
|
||||||
```nix
|
|
||||||
settings = {
|
|
||||||
tls.cert = config.age.secrets."tls-cert".path;
|
|
||||||
tls.key = config.age.secrets."tls-key".path;
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Agenix Command Reference
|
|
||||||
|
|
||||||
| Command | Description |
|
|
||||||
|---------|-------------|
|
|
||||||
| `agenix -e <file.age>` | Edit/create encrypted secret (opens editor or uses stdin) |
|
|
||||||
| `agenix -d <file.age>` | Decrypt and print to stdout |
|
|
||||||
| `agenix -r` | Re-encrypt all secrets (after changing public keys) |
|
|
||||||
| `agenix --validate-config` | Validate secrets.nix syntax |
|
|
||||||
|
|
||||||
### Environment Variables
|
|
||||||
|
|
||||||
| Variable | Default | Description |
|
|
||||||
|----------|---------|-------------|
|
|
||||||
| `RULES` | `./secrets.nix` | Path to secrets.nix file |
|
|
||||||
| `EDITOR` | `$EDITOR` | Editor for interactive editing |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
### "No identity found to decrypt"
|
|
||||||
|
|
||||||
**Cause**: No SSH private key available.
|
|
||||||
|
|
||||||
**Solution**: Ensure your private key is in `~/.ssh/`:
|
|
||||||
- `~/.ssh/id_rsa`
|
|
||||||
- `~/.ssh/id_ed25519`
|
|
||||||
- Or specify with `-i /path/to/private/key`
|
|
||||||
|
|
||||||
### "Failed to find config root"
|
|
||||||
|
|
||||||
**Cause**: Agenix can't find `secrets.nix`.
|
|
||||||
|
|
||||||
**Solution**: Use `RULES=./secrets.nix` or run from the nixos-config directory.
|
|
||||||
|
|
||||||
### Rekeying Secrets
|
|
||||||
|
|
||||||
After adding new public keys to `secrets.nix`, re-encrypt all secrets:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd ~/p/NIX/nixos-config
|
|
||||||
RULES=./secrets.nix nix develop . --command agenix -r
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Security Notes
|
|
||||||
|
|
||||||
- Never commit plaintext secrets to git
|
|
||||||
- Always use `secrets.nix` for encryption keys
|
|
||||||
- Include only necessary hosts/users in public keys
|
|
||||||
- Rotate secrets periodically
|
|
||||||
- Use `agenix -r` after modifying public keys
|
|
||||||
@@ -1,727 +0,0 @@
|
|||||||
# Home Profile Restructuring Implementation Plan
|
|
||||||
|
|
||||||
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
|
||||||
|
|
||||||
**Goal:** Restructure nixos-config/home/ from host-based to profile-based organization with clear separation between base, coding, profiles, desktop, and server layers.
|
|
||||||
|
|
||||||
**Architecture:** Three-layer model: Base (always loaded) → Coding (profile-independent) → Profiles/Context (freely combinable with constraints). Desktop and Server contexts are mutually exclusive.
|
|
||||||
|
|
||||||
**Tech Stack:** NixOS, Home Manager, Nix flakes
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## File Structure
|
|
||||||
|
|
||||||
```
|
|
||||||
home/
|
|
||||||
├── base/ # IMMER geladen
|
|
||||||
│ ├── default.nix
|
|
||||||
│ ├── shell/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ ├── nushell.nix # PRIMARY Shell
|
|
||||||
│ │ └── starship.nix
|
|
||||||
│ ├── cli-tools/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ ├── fzf.nix
|
|
||||||
│ │ ├── zellij.nix
|
|
||||||
│ │ ├── nitch.nix
|
|
||||||
│ │ └── television.nix
|
|
||||||
│ └── secrets/
|
|
||||||
│ └── secrets.nix
|
|
||||||
│
|
|
||||||
├── coding/ # Profil-unabhängig
|
|
||||||
│ ├── default.nix
|
|
||||||
│ ├── editor/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ └── neovim.nix # Basis NeoVim (aus nixpkgs referenziert)
|
|
||||||
│ ├── lsp/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ └── servers.nix
|
|
||||||
│ ├── git/
|
|
||||||
│ │ └── git.nix
|
|
||||||
│ └── agents/
|
|
||||||
│ └── agents.nix # Agent-System (aus nixpkgs referenziert)
|
|
||||||
│
|
|
||||||
├── profiles/ # FREI KOMBINIERBAR
|
|
||||||
│ ├── gaming/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ ├── steam.nix
|
|
||||||
│ │ └── gamescope.nix
|
|
||||||
│ │
|
|
||||||
│ └── media/
|
|
||||||
│ ├── default.nix
|
|
||||||
│ ├── obs.nix
|
|
||||||
│ ├── ffmpeg.nix
|
|
||||||
│ ├── yt-dlp.nix
|
|
||||||
│ ├── kdenlive.nix
|
|
||||||
│ └── handbrake.nix
|
|
||||||
│
|
|
||||||
├── desktop/ # NUR wenn context=desktop
|
|
||||||
│ ├── default.nix
|
|
||||||
│ ├── wm/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ ├── hyprland.nix
|
|
||||||
│ │ ├── wayland.nix
|
|
||||||
│ │ └── rofi.nix
|
|
||||||
│ ├── apps/
|
|
||||||
│ │ ├── default.nix
|
|
||||||
│ │ ├── obsidian.nix
|
|
||||||
│ │ ├── office.nix
|
|
||||||
│ │ ├── webapps.nix
|
|
||||||
│ │ └── crypto.nix
|
|
||||||
│ └── theme/
|
|
||||||
│ ├── default.nix
|
|
||||||
│ ├── fonts.nix
|
|
||||||
│ ├── theme.nix
|
|
||||||
│ └── wallpapers.nix
|
|
||||||
│
|
|
||||||
└── server/
|
|
||||||
└── default.nix
|
|
||||||
```
|
|
||||||
|
|
||||||
**Key Integration Points:**
|
|
||||||
|
|
||||||
| Component | Source | Notes |
|
|
||||||
|-----------|--------|-------|
|
|
||||||
| NeoVim Config | `inputs.m3ta-nixpkgs.pkgs.neovim-config` | Custom package in nixpkgs |
|
|
||||||
| OpenCode Desktop | `inputs.m3ta-nixpkgs.pkgs.opencode-desktop` | Custom package |
|
|
||||||
| Agent-System | `inputs.m3ta-nixpkgs.homeModules.coding.agents` | OpenCode, Claude Code, Pi |
|
|
||||||
| Zed Editor | `inputs.m3ta-nixpkgs.homeModules.coding.editors` | Desktop-only via Zed Remote |
|
|
||||||
| Editor Module | `inputs.m3ta-nixpkgs.homeModules.coding.editors` | NeoVim (base) + Zed (desktop) |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Phase 1: Create New Structure
|
|
||||||
|
|
||||||
### Task 1: Create Directory Structure
|
|
||||||
|
|
||||||
**Files:**
|
|
||||||
|
|
||||||
- Create: `home/base/default.nix`
|
|
||||||
- Create: `home/base/shell/default.nix`
|
|
||||||
- Create: `home/base/shell/nushell.nix`
|
|
||||||
- Create: `home/base/shell/starship.nix`
|
|
||||||
- Create: `home/base/cli-tools/default.nix`
|
|
||||||
- Create: `home/base/cli-tools/fzf.nix`
|
|
||||||
- Create: `home/base/cli-tools/zellij.nix`
|
|
||||||
- Create: `home/base/cli-tools/nitch.nix`
|
|
||||||
- Create: `home/base/cli-tools/television.nix`
|
|
||||||
- Create: `home/base/secrets/secrets.nix`
|
|
||||||
- Create: `home/coding/default.nix`
|
|
||||||
- Create: `home/coding/editor/default.nix`
|
|
||||||
- Create: `home/coding/editor/neovim.nix`
|
|
||||||
- Create: `home/coding/lsp/default.nix`
|
|
||||||
- Create: `home/coding/lsp/servers.nix`
|
|
||||||
- Create: `home/coding/git/git.nix`
|
|
||||||
- Create: `home/coding/agents/agents.nix`
|
|
||||||
- Create: `home/profiles/gaming/default.nix`
|
|
||||||
- Create: `home/profiles/gaming/steam.nix`
|
|
||||||
- Create: `home/profiles/gaming/gamescope.nix`
|
|
||||||
- Create: `home/profiles/media/default.nix`
|
|
||||||
- Create: `home/profiles/media/obs.nix`
|
|
||||||
- Create: `home/profiles/media/ffmpeg.nix`
|
|
||||||
- Create: `home/profiles/media/yt-dlp.nix`
|
|
||||||
- Create: `home/profiles/media/kdenlive.nix`
|
|
||||||
- Create: `home/profiles/media/handbrake.nix`
|
|
||||||
- Create: `home/desktop/default.nix`
|
|
||||||
- Create: `home/desktop/wm/default.nix`
|
|
||||||
- Create: `home/desktop/wm/hyprland.nix`
|
|
||||||
- Create: `home/desktop/wm/wayland.nix`
|
|
||||||
- Create: `home/desktop/wm/rofi.nix`
|
|
||||||
- Create: `home/desktop/apps/default.nix`
|
|
||||||
- Create: `home/desktop/apps/obsidian.nix`
|
|
||||||
- Create: `home/desktop/apps/office.nix`
|
|
||||||
- Create: `home/desktop/apps/webapps.nix`
|
|
||||||
- Create: `home/desktop/apps/crypto.nix`
|
|
||||||
- Create: `home/desktop/theme/default.nix`
|
|
||||||
- Create: `home/desktop/theme/fonts.nix`
|
|
||||||
- Create: `home/desktop/theme/theme.nix`
|
|
||||||
- Create: `home/desktop/theme/wallpapers.nix`
|
|
||||||
- Create: `home/server/default.nix`
|
|
||||||
- Modify: `home/default.nix` (Hauptaggregator)
|
|
||||||
|
|
||||||
- [ ] **Step 1: Create home/base/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/base/default.nix
|
|
||||||
# Basis-Konfiguration: Shell + CLI-Tools + Secrets
|
|
||||||
# Wird IMMER geladen (kein enable-Flag)
|
|
||||||
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./shell
|
|
||||||
./cli-tools
|
|
||||||
./secrets
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 2: Create home/base/shell/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/base/shell/default.nix
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./nushell.nix
|
|
||||||
./starship.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 3: Create home/base/shell/nushell.nix**
|
|
||||||
|
|
||||||
Migrated from: `home/features/cli/nushell.nix`
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/base/shell/nushell.nix
|
|
||||||
# Primary shell - Nushell
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.nushell = {
|
|
||||||
enable = true;
|
|
||||||
configFile = ...;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
nushell
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 4: Create home/base/shell/starship.nix**
|
|
||||||
|
|
||||||
Migrated from: `home/features/cli/starship.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 5: Create home/base/cli-tools/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/base/cli-tools/default.nix
|
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./fzf.nix
|
|
||||||
./zellij.nix
|
|
||||||
./nitch.nix
|
|
||||||
./television.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 6: Create CLI tool modules**
|
|
||||||
|
|
||||||
Migrate from `home/features/cli/`:
|
|
||||||
- `fzf.nix` → `home/base/cli-tools/fzf.nix`
|
|
||||||
- `zellij.nix` → `home/base/cli-tools/zellij.nix`
|
|
||||||
- `nitch.nix` → `home/base/cli-tools/nitch.nix`
|
|
||||||
- `television.nix` → `home/base/cli-tools/television.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 7: Create home/base/secrets/secrets.nix**
|
|
||||||
|
|
||||||
Migrated from: `home/features/cli/secrets.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 8: Create home/coding/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/coding/default.nix
|
|
||||||
# Coding-Konfiguration: Editor + LSP + Git + Agents
|
|
||||||
# Wird geladen wenn coding Profil aktiviert
|
|
||||||
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./editor
|
|
||||||
./lsp
|
|
||||||
./git
|
|
||||||
./agents
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 9: Create home/coding/editor/default.nix**
|
|
||||||
|
|
||||||
References: `inputs.m3ta-nixpkgs.homeModules.coding.editors`
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/coding/editor/default.nix
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Importiert NeoVim (immer) + Zed (desktop)
|
|
||||||
imports = [
|
|
||||||
inputs.m3ta-nixpkgs.homeModules.coding.editors
|
|
||||||
];
|
|
||||||
|
|
||||||
# NeoVim Config Package
|
|
||||||
home.packages = [ inputs.m3ta-nixpkgs.packages.${pkgs.system}.neovim-config ];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 10: Create home/coding/lsp/default.nix + servers.nix**
|
|
||||||
|
|
||||||
Migrate LSP configuration from existing setup
|
|
||||||
|
|
||||||
- [ ] **Step 11: Create home/coding/git/git.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/coding/git/git.nix
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
# Git configuration
|
|
||||||
};
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 12: Create home/coding/agents/agents.nix**
|
|
||||||
|
|
||||||
References: `inputs.m3ta-nixpkgs.homeModules.coding.agents`
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/coding/agents/agents.nix
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
inputs.m3ta-nixpkgs.homeModules.coding.agents
|
|
||||||
];
|
|
||||||
|
|
||||||
# Agent-Konfiguration
|
|
||||||
coding.agents.opencode = {
|
|
||||||
enable = true;
|
|
||||||
agentsInput = inputs.agents;
|
|
||||||
# modelOverrides...
|
|
||||||
};
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 13: Create home/profiles/gaming/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/profiles/gaming/default.nix
|
|
||||||
# Gaming Profile - frei kombinierbar
|
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./steam.nix
|
|
||||||
./gamescope.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 14: Create gaming profile modules**
|
|
||||||
|
|
||||||
- `steam.nix` - Steam + Steam Deck Tools
|
|
||||||
- `gamescope.nix` - Gamescope Session
|
|
||||||
|
|
||||||
- [ ] **Step 15: Create home/profiles/media/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/profiles/media/default.nix
|
|
||||||
# Media Profile - Content Creation / Streaming
|
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./obs.nix
|
|
||||||
./ffmpeg.nix
|
|
||||||
./yt-dlp.nix
|
|
||||||
./kdenlive.nix
|
|
||||||
./handbrake.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 16: Create media profile modules**
|
|
||||||
|
|
||||||
Migrate from `home/features/desktop/media.nix`:
|
|
||||||
- `obs.nix` - OBS Studio
|
|
||||||
- `ffmpeg.nix` - FFmpeg + Tools
|
|
||||||
- `yt-dlp.nix` - YouTube Downloader
|
|
||||||
- `kdenlive.nix` - Kdenlive Video Editor
|
|
||||||
- `handbrake.nix` - HandBrake
|
|
||||||
|
|
||||||
- [ ] **Step 17: Create home/desktop/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/desktop/default.nix
|
|
||||||
# Desktop-Konfiguration - nur wenn context=desktop
|
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Zed Remote: Server-Zugriff via SSH
|
|
||||||
programs.zed-editor = {
|
|
||||||
enable = true;
|
|
||||||
# Remote Connections Config
|
|
||||||
};
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./wm
|
|
||||||
./apps
|
|
||||||
./theme
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 18: Create home/desktop/wm modules**
|
|
||||||
|
|
||||||
Migrate from `home/features/desktop/`:
|
|
||||||
- `hyprland.nix` → `home/desktop/wm/hyprland.nix`
|
|
||||||
- `wayland.nix` → `home/desktop/wm/wayland.nix`
|
|
||||||
- `rofi.nix` → `home/desktop/wm/rofi.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 19: Create home/desktop/apps modules**
|
|
||||||
|
|
||||||
Migrate from `home/features/desktop/`:
|
|
||||||
- `obsidian.nix` → `home/desktop/apps/obsidian.nix`
|
|
||||||
- `office.nix` → `home/desktop/apps/office.nix`
|
|
||||||
- `webapps.nix` → `home/desktop/apps/webapps.nix`
|
|
||||||
- `crypto.nix` → `home/desktop/apps/crypto.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 20: Create home/desktop/theme modules**
|
|
||||||
|
|
||||||
Migrate from `home/features/desktop/`:
|
|
||||||
- `fonts.nix` → `home/desktop/theme/fonts.nix`
|
|
||||||
- `theme.nix` → `home/desktop/theme/theme.nix`
|
|
||||||
- `wallpapers.nix` → `home/desktop/theme/wallpapers.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 21: Create home/server/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/server/default.nix
|
|
||||||
# Server-Konfiguration - nur wenn context=server
|
|
||||||
# Minimal da primär via Zed Remote gearbeitet wird
|
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Server-spezifische Konfiguration falls nötig
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 22: Commit Phase 1**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git add home/
|
|
||||||
git commit -m "feat(home): create new directory structure
|
|
||||||
|
|
||||||
- Add base/ with shell, cli-tools, secrets
|
|
||||||
- Add coding/ with editor, lsp, git, agents
|
|
||||||
- Add profiles/ with gaming, media
|
|
||||||
- Add desktop/ with wm, apps, theme
|
|
||||||
- Add server/ minimal config
|
|
||||||
- Reference m3ta-nixpkgs modules where appropriate"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Phase 2: Create Profile System with Constraints
|
|
||||||
|
|
||||||
### Task 2: Implement Profile Loader with Mutual Exclusion
|
|
||||||
|
|
||||||
**Files:**
|
|
||||||
|
|
||||||
- Create: `home/lib/default.nix` (Profile loading utilities)
|
|
||||||
- Modify: `flake.nix` (Host-spezifische Home-Config)
|
|
||||||
- Modify: `hosts/common/users/home.nix`
|
|
||||||
|
|
||||||
- [ ] **Step 1: Create home/lib/default.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# home/lib/default.nix
|
|
||||||
# Profile loading utilities
|
|
||||||
|
|
||||||
{ lib }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Generiert Home-Manager Konfiguration basierend auf Profilen
|
|
||||||
mkHomeConfig = {
|
|
||||||
profiles ? [],
|
|
||||||
context ? null, # "desktop" | "server" | null
|
|
||||||
}: let
|
|
||||||
inherit (lib) optionalAttrs mkIf;
|
|
||||||
|
|
||||||
# Profile die immer geladen werden
|
|
||||||
baseModules = [ ./base ];
|
|
||||||
|
|
||||||
# Profile die optional geladen werden
|
|
||||||
profileModules = optionalAttrs (builtins.elem "coding" profiles) [ ./coding ];
|
|
||||||
|
|
||||||
# Context-spezifische Module
|
|
||||||
contextModules = {
|
|
||||||
desktop = [ ./desktop ];
|
|
||||||
server = [ ./server ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Profile-spezifische Module
|
|
||||||
profileSpecific = {
|
|
||||||
gaming = [ ./profiles/gaming ];
|
|
||||||
media = [ ./profiles/media ];
|
|
||||||
};
|
|
||||||
|
|
||||||
in {
|
|
||||||
imports = baseModules ++ profileModules
|
|
||||||
++ (contextModules.${context} or [])
|
|
||||||
++ (builtins.map (p: ./profiles.${p})
|
|
||||||
(builtins.filter (p: builtins.hasAttr p profileSpecific) profiles));
|
|
||||||
};
|
|
||||||
|
|
||||||
# Assertion: desktop und server schließen sich aus
|
|
||||||
mutualExclusiveContexts = builtins.hasAttr "desktop" && builtins.hasAttr "server";
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 2: Update flake.nix for m3-ares (Desktop)**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# hosts/m3-ares/ (Desktop Beispiel)
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Home-Manager für m3tam3re auf m3-ares
|
|
||||||
home-manager.users.m3tam3re = { config, ... }: {
|
|
||||||
# NEU: Profile-System
|
|
||||||
m3ta.profiles = [ "coding" "gaming" "media" ]; # Freie Kombination
|
|
||||||
m3ta.context = "desktop"; # Schließt "server" aus
|
|
||||||
|
|
||||||
# Alternativ: Legacy-Kompatibilität
|
|
||||||
# imports = [ ./home ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 3: Update flake.nix for m3-atlas (Server)**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# hosts/m3-atlas/ (Server Beispiel)
|
|
||||||
{ inputs, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.users.m3tam3re = { config, ... }: {
|
|
||||||
m3ta.profiles = [ "coding" ]; # Nur Coding auf Server
|
|
||||||
m3ta.context = "server"; # Schließt "desktop" aus
|
|
||||||
};
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 4: Add assertions in flake.nix**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# Validation: Context constraints
|
|
||||||
assertion = hostConfig.m3ta.context != "desktop" || hostConfig.m3ta.context != "server"
|
|
||||||
|| (hostConfig.m3ta.context == null); # Mutually exclusive
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 5: Commit Phase 2**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git add flake.nix hosts/
|
|
||||||
git commit -m "feat: implement profile system with constraints
|
|
||||||
|
|
||||||
- Add home/lib for profile loading utilities
|
|
||||||
- Add m3ta.profiles option (list of profiles)
|
|
||||||
- Add m3ta.context option (desktop|server|null)
|
|
||||||
- Add mutual exclusion assertion
|
|
||||||
- Update m3-ares and m3-atlas as examples"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Phase 3: Migrate Existing Configuration
|
|
||||||
|
|
||||||
### Task 3: Migrate home/features to new Structure
|
|
||||||
|
|
||||||
**Files:**
|
|
||||||
|
|
||||||
- Modify: Multiple files in `home/features/` (move content, update paths)
|
|
||||||
|
|
||||||
- [ ] **Step 1: Map existing features to new structure**
|
|
||||||
|
|
||||||
| Old Location | New Location | Notes |
|
|
||||||
|--------------|--------------|-------|
|
|
||||||
| `home/features/cli/nushell.nix` | `home/base/shell/nushell.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/starship.nix` | `home/base/shell/starship.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/fzf.nix` | `home/base/cli-tools/fzf.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/zellij.nix` | `home/base/cli-tools/zellij.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/nitch.nix` | `home/base/cli-tools/nitch.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/television.nix` | `home/base/cli-tools/television.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/cli/secrets.nix` | `home/base/secrets/secrets.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/coding/opencode.nix` | Reference via `m3ta-nixpkgs` | Update import |
|
|
||||||
| `home/features/coding/pi.nix` | Reference via `m3ta-nixpkgs` | Update import |
|
|
||||||
| `home/features/desktop/hyprland.nix` | `home/desktop/wm/hyprland.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/wayland.nix` | `home/desktop/wm/wayland.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/rofi.nix` | `home/desktop/wm/rofi.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/obsidian.nix` | `home/desktop/apps/obsidian.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/office.nix` | `home/desktop/apps/office.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/webapps.nix` | `home/desktop/apps/webapps.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/crypto.nix` | `home/desktop/apps/crypto.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/fonts.nix` | `home/desktop/theme/fonts.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/theme.nix` | `home/desktop/theme/theme.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/wallpapers.nix` | `home/desktop/theme/wallpapers.nix` | ✓ Done in Task 1 |
|
|
||||||
| `home/features/desktop/media.nix` | `home/profiles/media/*.nix` | Split into modules |
|
|
||||||
| `home/features/desktop/gaming.nix` | `home/profiles/gaming/*.nix` | Split into modules |
|
|
||||||
|
|
||||||
- [ ] **Step 2: Archive old structure**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# After migration, archive old features/
|
|
||||||
git mv home/features home/features.old
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 3: Verify all configurations are imported**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Check that all features are accessible in new structure
|
|
||||||
nix flake check
|
|
||||||
home-manager dry-activate
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 4: Commit Phase 3**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git add -A
|
|
||||||
git commit -m "chore: migrate features to profile structure
|
|
||||||
|
|
||||||
- Move all cli features to base/shell and base/cli-tools
|
|
||||||
- Move desktop features to desktop/* subdirectories
|
|
||||||
- Split media into individual profile modules
|
|
||||||
- Split gaming into individual profile modules
|
|
||||||
- Archive old features/ directory"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Phase 4: Test and Validate
|
|
||||||
|
|
||||||
### Task 4: Test Profile Combinations
|
|
||||||
|
|
||||||
**Files:**
|
|
||||||
|
|
||||||
- Test: Manual testing on m3-ares (Desktop)
|
|
||||||
- Test: Manual testing on m3-atlas (Server)
|
|
||||||
|
|
||||||
- [ ] **Step 1: Test m3-ares (Desktop with all profiles)**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build and test on m3-ares
|
|
||||||
nixos-rebuild dry-build --flake .#m3-ares
|
|
||||||
home-manager dry-activate --flake .#m3tam3re@m3-ares
|
|
||||||
```
|
|
||||||
|
|
||||||
Expected: Loads base + coding + desktop + gaming + media
|
|
||||||
|
|
||||||
- [ ] **Step 2: Test m3-atlas (Server with coding only)**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build and test on m3-atlas
|
|
||||||
nixos-rebuild dry-build --flake .#m3-atlas
|
|
||||||
home-manager dry-activate --flake .#m3tam3re@m3-atlas
|
|
||||||
```
|
|
||||||
|
|
||||||
Expected: Loads base + coding + server (no desktop modules)
|
|
||||||
|
|
||||||
- [ ] **Step 3: Test assertion (should fail)**
|
|
||||||
|
|
||||||
```nix
|
|
||||||
# This SHOULD fail - desktop and server together
|
|
||||||
m3ta.context = "desktop";
|
|
||||||
m3ta.profiles = [ "coding" ];
|
|
||||||
# Nix should throw assertion error
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 4: Commit Phase 4**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git commit -m "test: validate profile combinations on all hosts
|
|
||||||
|
|
||||||
- m3-ares: base + coding + desktop + gaming + media ✓
|
|
||||||
- m3-atlas: base + coding + server ✓
|
|
||||||
- Constraint assertion working ✓"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Phase 5: Cleanup
|
|
||||||
|
|
||||||
### Task 5: Remove Old Structure
|
|
||||||
|
|
||||||
**Files:**
|
|
||||||
|
|
||||||
- Delete: `home/features.old/` (after verification)
|
|
||||||
|
|
||||||
- [ ] **Step 1: Verify no broken imports**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Search for any references to old paths
|
|
||||||
grep -r "home/features" --include="*.nix"
|
|
||||||
```
|
|
||||||
|
|
||||||
Expected: No results
|
|
||||||
|
|
||||||
- [ ] **Step 2: Delete old directory**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git rm -rf home/features.old
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 3: Final format and check**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nix fmt
|
|
||||||
nix flake check
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] **Step 4: Final commit**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git commit -m "chore: remove old features directory
|
|
||||||
|
|
||||||
Cleanup complete. New structure:
|
|
||||||
- home/base/ (always loaded)
|
|
||||||
- home/coding/ (profile-independent)
|
|
||||||
- home/profiles/ (gaming, media)
|
|
||||||
- home/desktop/ (context=desktop)
|
|
||||||
- home/server/ (context=server)"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
| Phase | Tasks | Description |
|
|
||||||
|-------|-------|-------------|
|
|
||||||
| 1 | 1 | Create new directory structure |
|
|
||||||
| 2 | 2 | Implement profile system with constraints |
|
|
||||||
| 3 | 3 | Migrate existing features |
|
|
||||||
| 4 | 4 | Test profile combinations |
|
|
||||||
| 5 | 5 | Remove old structure |
|
|
||||||
|
|
||||||
**Total:** 5 tasks, ~22 steps
|
|
||||||
|
|
||||||
**Expected Duration:** 2-4 hours (depending on migration complexity)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Migration Notes
|
|
||||||
|
|
||||||
1. **NeoVim Config**: Already in nixpkgs, reference via `inputs.m3ta-nixpkgs.packages.neovim-config`
|
|
||||||
|
|
||||||
2. **Agent-System**: Already in nixpkgs, reference via `inputs.m3ta-nixpkgs.homeModules.coding.agents`
|
|
||||||
|
|
||||||
3. **Zed Remote**: Desktop-only feature, works via SSH. No server-side installation needed.
|
|
||||||
|
|
||||||
4. **Fish Shell**: Removed from base (Nushell is primary). Can be added as optional profile if needed.
|
|
||||||
|
|
||||||
5. **Feature Flags**: Old `features.*.enable` options → New profile lists `m3ta.profiles = [ "gaming" "media" ]`
|
|
||||||
Generated
+480
-145
@@ -21,16 +21,53 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"agenix_2": {
|
||||||
|
"inputs": {
|
||||||
|
"darwin": "darwin_2",
|
||||||
|
"home-manager": "home-manager_4",
|
||||||
|
"nixpkgs": "nixpkgs_6",
|
||||||
|
"systems": "systems_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1770165109,
|
||||||
|
"narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=",
|
||||||
|
"owner": "ryantm",
|
||||||
|
"repo": "agenix",
|
||||||
|
"rev": "b027ee29d959fda4b60b57566d64c98a202e0feb",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ryantm",
|
||||||
|
"repo": "agenix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"agents": {
|
"agents": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777053633,
|
"lastModified": 1778518220,
|
||||||
"narHash": "sha256-AtoguTQc8x4ysH5KSlRaFMx1elTOnTdk1u4YtqlttVU=",
|
"narHash": "sha256-6AQs9VZ0/DuD4njPbYHRE4v+SgJc6SBrGwemTWxikVc=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "6e0e847299b81665ba594668fff208278bb3de3b",
|
"rev": "b6e1aaa6261c5056d024d8d4785659eaa4e675e6",
|
||||||
"revCount": 73,
|
"revCount": 87,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"agents_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777399938,
|
||||||
|
"narHash": "sha256-xXPqUQezDdDtF8MbpZnwD1HkybOYwF92evx8rJ6OXCU=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "9a91f1ee0cf011a7eaf1f16a9e17610b0457e055",
|
||||||
|
"revCount": 85,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
},
|
},
|
||||||
@@ -39,14 +76,14 @@
|
|||||||
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"agents_2": {
|
"agents_3": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776092721,
|
"lastModified": 1777399938,
|
||||||
"narHash": "sha256-avV4Snqp0K57I9s8D61+GHlg9DYZFSIvjaS4d4RYpG8=",
|
"narHash": "sha256-xXPqUQezDdDtF8MbpZnwD1HkybOYwF92evx8rJ6OXCU=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "0ad41acb03eee0e22cba611b2171a3d3ee30cb10",
|
"rev": "9a91f1ee0cf011a7eaf1f16a9e17610b0457e055",
|
||||||
"revCount": 72,
|
"revCount": 85,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
||||||
},
|
},
|
||||||
@@ -71,7 +108,46 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"base16-schemes_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1696158499,
|
||||||
|
"narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=",
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-schemes",
|
||||||
|
"rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "base16-schemes",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"basecamp": {
|
"basecamp": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
|
"m3ta-nixpkgs",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774505501,
|
||||||
|
"narHash": "sha256-7UiRrDptj7yuEFwToOfdunUMz/i3jRLR7CmMoYQjq6k=",
|
||||||
|
"owner": "basecamp",
|
||||||
|
"repo": "basecamp-cli",
|
||||||
|
"rev": "f087e6ef84002503d0dbc75ea1c8c928a8928d9e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "basecamp",
|
||||||
|
"ref": "v0.7.2",
|
||||||
|
"repo": "basecamp-cli",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"basecamp_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"m3ta-nixpkgs",
|
"m3ta-nixpkgs",
|
||||||
@@ -124,7 +200,6 @@
|
|||||||
"llm-agents",
|
"llm-agents",
|
||||||
"flake-parts"
|
"flake-parts"
|
||||||
],
|
],
|
||||||
"import-tree": "import-tree",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"llm-agents",
|
"llm-agents",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
@@ -139,11 +214,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776192490,
|
"lastModified": 1777369708,
|
||||||
"narHash": "sha256-5gYQNEs0/vDkHhg63aHS5g0IwG/8HNvU1Vr00cElofk=",
|
"narHash": "sha256-1xW7cRZNsFNPQD+cE0fwnLVStnDth0HSoASEIFeT7uI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "bun2nix",
|
"repo": "bun2nix",
|
||||||
"rev": "6ef9f144616eedea90b364bb408ef2e1de7b310a",
|
"rev": "e659e1cc4b8e1b21d0aa85f1c481f9db61ecfa98",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -175,6 +250,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"darwin_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
|
"agenix",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1744478979,
|
||||||
|
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
||||||
|
"owner": "lnl7",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "lnl7",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"disko": {
|
"disko": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -182,11 +280,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773889306,
|
"lastModified": 1777713215,
|
||||||
"narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=",
|
"narHash": "sha256-8GzXDOXckDWwST8TY5DbwYFjdvQLlP7K9CLSVx6iTTo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "5ad85c82cc52264f4beddc934ba57f3789f28347",
|
"rev": "63b4e7e6cf75307c1d26ac3762b886b5b0247267",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -224,11 +322,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775087534,
|
"lastModified": 1777988971,
|
||||||
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
"narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
"rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -238,6 +336,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_3": {
|
"flake-parts_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"m3ta-home",
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_4": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"nur",
|
"nur",
|
||||||
@@ -286,16 +406,16 @@
|
|||||||
"uv2nix": "uv2nix_2"
|
"uv2nix": "uv2nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776983519,
|
"lastModified": 1778170968,
|
||||||
"narHash": "sha256-cJEYjf8xV4vDw9xRBh9SHMhamj5wNjEhmMO5O3s5lag=",
|
"narHash": "sha256-YQQUEDUim2CiYpL3uG7Wi1fWPsT2wtIqoBeJuAj9hUk=",
|
||||||
"owner": "NousResearch",
|
"owner": "NousResearch",
|
||||||
"repo": "hermes-agent",
|
"repo": "hermes-agent",
|
||||||
"rev": "bf196a3fc0fd1f79353369e8732051db275c6276",
|
"rev": "498bfc7bc12a937621b4215312049b1000726df3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NousResearch",
|
"owner": "NousResearch",
|
||||||
"ref": "v2026.4.23",
|
"ref": "v2026.5.7",
|
||||||
"repo": "hermes-agent",
|
"repo": "hermes-agent",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -328,11 +448,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775781825,
|
"lastModified": 1779113444,
|
||||||
"narHash": "sha256-L5yKTpR+alrZU2XYYvIxCeCP4LBHU5jhwSj7H1VAavg=",
|
"narHash": "sha256-/L61sT1PIKmGWIQpIh0uJGH/ANvcsf6y4alxtb9kelg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e35c39fca04fee829cecdf839a50eb9b54d8a701",
|
"rev": "74f170c62d57f90e656841f1f699e6bdf40f0a24",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -362,13 +482,56 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"home-manager_4": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
|
"agenix",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1745494811,
|
||||||
|
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager_5": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778503501,
|
||||||
|
"narHash": "sha256-08L/X4/do7nET4rzidJ76eV/1r+mB7DchVpdPypsghc=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "85ba629c79449badf4338117c27f0ee92b4b9f1a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprlang": {
|
"hyprlang": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"rose-pine-hyprcursor",
|
"rose-pine-hyprcursor",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"systems": "systems_4"
|
"systems": "systems_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709914708,
|
"lastModified": 1709914708,
|
||||||
@@ -391,11 +554,11 @@
|
|||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774257081,
|
"lastModified": 1776923321,
|
||||||
"narHash": "sha256-92ZbaBfsEXEE7VaWJjv9aRSk3l9nyoYYyMe2AwTqSZI=",
|
"narHash": "sha256-QowlCOrE4jGOTDCUCEx/E8gHjqSx3r25y7v4dEBpBhk=",
|
||||||
"owner": "Jas-SinghFSU",
|
"owner": "Jas-SinghFSU",
|
||||||
"repo": "HyprPanel",
|
"repo": "HyprPanel",
|
||||||
"rev": "e919b4a8a8ab5f2a0752f68576ab3eed6993cefd",
|
"rev": "1961ba86ad5ab880beb639e5454054b2b5037e0d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -404,21 +567,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"import-tree": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1763762820,
|
|
||||||
"narHash": "sha256-ZvYKbFib3AEwiNMLsejb/CWs/OL/srFQ8AogkebEPF0=",
|
|
||||||
"owner": "vic",
|
|
||||||
"repo": "import-tree",
|
|
||||||
"rev": "3c23749d8013ec6daa1d7255057590e9ca726646",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "vic",
|
|
||||||
"repo": "import-tree",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"llm-agents": {
|
"llm-agents": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"blueprint": "blueprint",
|
"blueprint": "blueprint",
|
||||||
@@ -429,11 +577,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1777055188,
|
"lastModified": 1778304612,
|
||||||
"narHash": "sha256-Cdo4+L4KTEBXCyJyZdXOjyXmnwl1m5VzHJ5uIwQTENE=",
|
"narHash": "sha256-7FkBnR56KZ8RwY5kPd3ans8f68IYjF1J66gOUlLsiLA=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "llm-agents.nix",
|
"repo": "llm-agents.nix",
|
||||||
"rev": "bee1f681fda054c310cd25fbc944e02a7648a0ee",
|
"rev": "c741913095c4815f6651aa0a2c24b3ce15e414e4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -442,27 +590,76 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"m3ta-home": {
|
||||||
|
"inputs": {
|
||||||
|
"agenix": "agenix_2",
|
||||||
|
"home-manager": "home-manager_5",
|
||||||
|
"m3ta-nixpkgs": "m3ta-nixpkgs",
|
||||||
|
"nix-colors": "nix-colors",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nur": "nur"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778520138,
|
||||||
|
"narHash": "sha256-X58c8BUIshyUnp6XEKumFUYXqMFnrDTj+aGuGIbKwxg=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "a87d9510bd84f51bf93970730b8688ab7221bbdd",
|
||||||
|
"revCount": 30,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home"
|
||||||
|
}
|
||||||
|
},
|
||||||
"m3ta-nixpkgs": {
|
"m3ta-nixpkgs": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agents": "agents_2",
|
"agents": "agents_2",
|
||||||
"basecamp": "basecamp",
|
"basecamp": "basecamp",
|
||||||
"nixpkgs": "nixpkgs_6",
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
"opencode": "opencode",
|
|
||||||
"openspec": "openspec"
|
"openspec": "openspec"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776876631,
|
"lastModified": 1778508052,
|
||||||
"narHash": "sha256-YgTb6pugAvUiSm7xVMpejf6kJPodhq8fOYQDdELfwQg=",
|
"narHash": "sha256-kxzZvJv757TGfHReR21aX6N/jkGMWzGSy9GQEclYD4Y=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "03ad7451fcfafde94da937afb6cf96ca39cc8e2f",
|
"rev": "8113723a48c4afa016881ccd5bc4be3fad2c7d5f",
|
||||||
"revCount": 244,
|
"revCount": 294,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m3ta-nixpkgs_2": {
|
||||||
|
"inputs": {
|
||||||
|
"agents": "agents_3",
|
||||||
|
"basecamp": "basecamp_2",
|
||||||
|
"nixpkgs": "nixpkgs_8",
|
||||||
|
"nixpkgs-master": "nixpkgs-master_2",
|
||||||
|
"openspec": "openspec_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778518789,
|
||||||
|
"narHash": "sha256-9WZvO2BBofC2Wp4dvP4/aQ6Jhmcxh9lEGTYj09hLXrI=",
|
||||||
|
"ref": "refs/heads/master",
|
||||||
|
"rev": "d64c581516c02702ec28e5d2304330d7b035235d",
|
||||||
|
"revCount": 295,
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-colors": {
|
"nix-colors": {
|
||||||
@@ -484,6 +681,25 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-colors_2": {
|
||||||
|
"inputs": {
|
||||||
|
"base16-schemes": "base16-schemes_2",
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1707825078,
|
||||||
|
"narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=",
|
||||||
|
"owner": "misterio77",
|
||||||
|
"repo": "nix-colors",
|
||||||
|
"rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "misterio77",
|
||||||
|
"repo": "nix-colors",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixlib": {
|
"nixlib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736643958,
|
"lastModified": 1736643958,
|
||||||
@@ -502,7 +718,7 @@
|
|||||||
"nixos-generators": {
|
"nixos-generators": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixlib": "nixlib",
|
"nixlib": "nixlib",
|
||||||
"nixpkgs": "nixpkgs_7"
|
"nixpkgs": "nixpkgs_9"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769813415,
|
"lastModified": 1769813415,
|
||||||
@@ -581,6 +797,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-lib_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1697935651,
|
||||||
|
"narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs-locked": {
|
"nixpkgs-locked": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739661218,
|
"lastModified": 1739661218,
|
||||||
@@ -599,11 +830,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775657231,
|
"lastModified": 1778507606,
|
||||||
"narHash": "sha256-DP8FfybiZPp5WLB9eIk0TC2mdvuYzxLGgrBODDrwPEI=",
|
"narHash": "sha256-6Yc2dIhijc8G+dbMNocyclxF19dUrjaT+EeXGrXmXlg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4e03baaa39b7746eac5704d623461422131cd03d",
|
"rev": "39a7b8d815fcc8b689d56fc4a3fa8de4ef93d169",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -615,11 +846,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master_2": {
|
"nixpkgs-master_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775820596,
|
"lastModified": 1778507606,
|
||||||
"narHash": "sha256-DDZkqNCW97pb1WX6sDICPnDEYcnIhGMVNLyrDOA2RUQ=",
|
"narHash": "sha256-6Yc2dIhijc8G+dbMNocyclxF19dUrjaT+EeXGrXmXlg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "39a7b8d815fcc8b689d56fc4a3fa8de4ef93d169",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-master_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778307931,
|
||||||
|
"narHash": "sha256-GkUOqeH6tb2/K1tv3t0F/xROIAh5/zEGutzEUIrQ+u8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8ccce85bee20142e7d9eb7f3423c5f4fb69fa985",
|
"rev": "8f689324e32c31a3d2c24490a19e266c3fb6508b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -631,11 +878,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775595990,
|
"lastModified": 1778003029,
|
||||||
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=",
|
"narHash": "sha256-q/nkKLDtHIyLjZpKhWk3cSK5IYsFqtMd6UtXF3ddjgA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2",
|
"rev": "0c88e1f2bdb93d5999019e99cb0e61e1fe2af4c5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -645,6 +892,38 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_10": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777954456,
|
||||||
|
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_11": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1710272261,
|
||||||
|
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772479524,
|
"lastModified": 1772479524,
|
||||||
@@ -695,11 +974,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776329215,
|
"lastModified": 1778124196,
|
||||||
"narHash": "sha256-a8BYi3mzoJ/AcJP8UldOx8emoPRLeWqALZWu4ZvjPXw=",
|
"narHash": "sha256-pYEytCNic/czazbV9r3tbQ6BZzqRBg/41x2dIC5ymOo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b86751bc4085f48661017fa226dee99fab6c651b",
|
"rev": "68a8af93ff4297686cb68880845e61e5e2e41d92",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -711,11 +990,43 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775423009,
|
"lastModified": 1754028485,
|
||||||
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
|
"narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
|
"rev": "59e69648d345d6e8fef86158c555730fa12af9de",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777954456,
|
||||||
|
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_8": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777954456,
|
||||||
|
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -725,7 +1036,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_9": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736657626,
|
"lastModified": 1736657626,
|
||||||
"narHash": "sha256-FWlPMUzp0lkQBdhKlPqtQdqmp+/C+1MBiEytaYfrCTY=",
|
"narHash": "sha256-FWlPMUzp0lkQBdhKlPqtQdqmp+/C+1MBiEytaYfrCTY=",
|
||||||
@@ -741,38 +1052,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1775710090,
|
|
||||||
"narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4c1018dae018162ec878d42fec712642d214fdfa",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_9": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1710272261,
|
|
||||||
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"npm-lockfile-fix": {
|
"npm-lockfile-fix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -797,16 +1076,14 @@
|
|||||||
"nur": {
|
"nur": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts_3",
|
||||||
"nixpkgs": [
|
"nixpkgs": "nixpkgs_7"
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775820600,
|
"lastModified": 1778506944,
|
||||||
"narHash": "sha256-C2ffOYhqlKqKqc0KEkMQXIs6NHpM5ewEoO+o+XZCo8c=",
|
"narHash": "sha256-lU0Bleh0reE+WU7j8Uiqsu6ekPav50L8sXsgOvEQS+0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "38d9344bb5323e582090d0033428a8dd7e684fde",
|
"rev": "0166493cfe4e0e9927435c1cfbf5505cfb0d10d1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -815,41 +1092,62 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"opencode": {
|
"nur_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_4",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"m3ta-nixpkgs",
|
"nixpkgs"
|
||||||
"nixpkgs-master"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775782812,
|
"lastModified": 1778308643,
|
||||||
"narHash": "sha256-m+Ue7FWiTjKMAn1QefAwOMfOb2Vybk0mJPV9zcbkOmE=",
|
"narHash": "sha256-MpJyLyJWAwOy7rVs7pWqRwH2b8/rj+B524VzdonvXBs=",
|
||||||
"owner": "anomalyco",
|
"owner": "nix-community",
|
||||||
"repo": "opencode",
|
"repo": "NUR",
|
||||||
"rev": "877be7e8e04142cd8fbebcb5e6c4b9617bf28cce",
|
"rev": "98d908741ed91101cd0649961f12d2427bdba7d3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "anomalyco",
|
"owner": "nix-community",
|
||||||
"ref": "v1.4.3",
|
"repo": "NUR",
|
||||||
"repo": "opencode",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"openspec": {
|
"openspec": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"m3ta-home",
|
||||||
"m3ta-nixpkgs",
|
"m3ta-nixpkgs",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775372219,
|
"lastModified": 1778120451,
|
||||||
"narHash": "sha256-MJakKC026Sarz7nMmiFrfONWc4xgaw8ApV0Hhp4ebhM=",
|
"narHash": "sha256-MUSPD16+hoFBfQWYahtNLN2BIFEAlFFo2KNofrc947g=",
|
||||||
"owner": "Fission-AI",
|
"owner": "Fission-AI",
|
||||||
"repo": "OpenSpec",
|
"repo": "OpenSpec",
|
||||||
"rev": "64d476f8b924bb9b74b896ea0aa784970e37da69",
|
"rev": "053d8a59d587f3c027a06ad80503a6b43d4f2a92",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Fission-AI",
|
||||||
|
"repo": "OpenSpec",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"openspec_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"m3ta-nixpkgs",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778120451,
|
||||||
|
"narHash": "sha256-MUSPD16+hoFBfQWYahtNLN2BIFEAlFFo2KNofrc947g=",
|
||||||
|
"owner": "Fission-AI",
|
||||||
|
"repo": "OpenSpec",
|
||||||
|
"rev": "053d8a59d587f3c027a06ad80503a6b43d4f2a92",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -955,17 +1253,19 @@
|
|||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"hyprpanel": "hyprpanel",
|
"hyprpanel": "hyprpanel",
|
||||||
"llm-agents": "llm-agents",
|
"llm-agents": "llm-agents",
|
||||||
"m3ta-nixpkgs": "m3ta-nixpkgs",
|
"m3ta-home": "m3ta-home",
|
||||||
"nix-colors": "nix-colors",
|
"m3ta-nixpkgs": "m3ta-nixpkgs_2",
|
||||||
|
"nix-colors": "nix-colors_2",
|
||||||
"nixos-generators": "nixos-generators",
|
"nixos-generators": "nixos-generators",
|
||||||
"nixpkgs": "nixpkgs_8",
|
"nixpkgs": "nixpkgs_10",
|
||||||
"nixpkgs-45570c2": "nixpkgs-45570c2",
|
"nixpkgs-45570c2": "nixpkgs-45570c2",
|
||||||
"nixpkgs-9e58ed7": "nixpkgs-9e58ed7",
|
"nixpkgs-9e58ed7": "nixpkgs-9e58ed7",
|
||||||
"nixpkgs-locked": "nixpkgs-locked",
|
"nixpkgs-locked": "nixpkgs-locked",
|
||||||
"nixpkgs-master": "nixpkgs-master_2",
|
"nixpkgs-master": "nixpkgs-master_3",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nur": "nur",
|
"nur": "nur_2",
|
||||||
"rose-pine-hyprcursor": "rose-pine-hyprcursor",
|
"rose-pine-hyprcursor": "rose-pine-hyprcursor",
|
||||||
|
"rustfs": "rustfs",
|
||||||
"skills-anthropic": "skills-anthropic",
|
"skills-anthropic": "skills-anthropic",
|
||||||
"skills-basecamp": "skills-basecamp",
|
"skills-basecamp": "skills-basecamp",
|
||||||
"skills-kestra": "skills-kestra",
|
"skills-kestra": "skills-kestra",
|
||||||
@@ -976,7 +1276,7 @@
|
|||||||
"rose-pine-hyprcursor": {
|
"rose-pine-hyprcursor": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprlang": "hyprlang",
|
"hyprlang": "hyprlang",
|
||||||
"nixpkgs": "nixpkgs_9",
|
"nixpkgs": "nixpkgs_11",
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -993,14 +1293,34 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rustfs": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777635550,
|
||||||
|
"narHash": "sha256-QHknn6JYNb4+8ztMl7Ngk3Px3r2FRUPwbbrswYuHSpA=",
|
||||||
|
"owner": "rustfs",
|
||||||
|
"repo": "rustfs-flake",
|
||||||
|
"rev": "efaad834053c41ac618804fb4e7612cea455848e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rustfs",
|
||||||
|
"repo": "rustfs-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"skills-anthropic": {
|
"skills-anthropic": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775755206,
|
"lastModified": 1778286877,
|
||||||
"narHash": "sha256-H/oorOl5cch7bnziDz7gHNBv5Q0OAwFbk9w1WLku2kk=",
|
"narHash": "sha256-jKNYFom6R+Qw7LQ8vFPBe51JpqIP0tTSY8LM4aPlnT4=",
|
||||||
"owner": "anthropics",
|
"owner": "anthropics",
|
||||||
"repo": "skills",
|
"repo": "skills",
|
||||||
"rev": "12ab35c2eb5668c95810e6a6066f40f4218adc39",
|
"rev": "f458cee31a7577a47ba0c9a101976fa599385174",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1012,11 +1332,11 @@
|
|||||||
"skills-basecamp": {
|
"skills-basecamp": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775581454,
|
"lastModified": 1777902228,
|
||||||
"narHash": "sha256-jDkRFNjxa+WIdpFBSPvHwGK4hbmF8bMZK5RM8ue2IGI=",
|
"narHash": "sha256-XDsWpUhFb/gxatRFla07nwoc2y3WwaBLsiDdtCnqx38=",
|
||||||
"owner": "basecamp",
|
"owner": "basecamp",
|
||||||
"repo": "basecamp-cli",
|
"repo": "basecamp-cli",
|
||||||
"rev": "5fb837c7f0d6e04c0e6c308d8b79994a49b58b2d",
|
"rev": "b56ada1b3d42b42a9422ba39b30a223f9f960231",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1044,11 +1364,11 @@
|
|||||||
"skills-superpowers": {
|
"skills-superpowers": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1776996157,
|
"lastModified": 1777932301,
|
||||||
"narHash": "sha256-0WupTacT1jIwVBloj1i0RF7wIllVtP8eMPRl7VrXdbE=",
|
"narHash": "sha256-3E3rO6hR87JUfS3XV1Eaoz6SDWOftleWvN9UPNFEMjw=",
|
||||||
"owner": "obra",
|
"owner": "obra",
|
||||||
"repo": "superpowers",
|
"repo": "superpowers",
|
||||||
"rev": "6efe32c9e2dd002d0c394e861e0529675d1ab32e",
|
"rev": "f2cbfbefebbfef77321e4c9abc9e949826bea9d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1060,11 +1380,11 @@
|
|||||||
"skills-vercel": {
|
"skills-vercel": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1775448549,
|
"lastModified": 1778275952,
|
||||||
"narHash": "sha256-P7sHiKqeThQGIOfJ1nfjiECZnhQh+U2HuLex2sg8k5E=",
|
"narHash": "sha256-RYwgUf173N4lGalTta4HkBR7sdZwuzRoAY6M8JsT+RY=",
|
||||||
"owner": "vercel-labs",
|
"owner": "vercel-labs",
|
||||||
"repo": "skills",
|
"repo": "skills",
|
||||||
"rev": "df0579f85cb8a360473c921e1343359006100d3c",
|
"rev": "c99a72b371b5b4da865f5afa87c5a686f3a46766",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1119,6 +1439,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_4": {
|
"systems_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1689347949,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
@@ -1133,7 +1468,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_5": {
|
"systems_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
@@ -1171,7 +1506,7 @@
|
|||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_5"
|
"systems": "systems_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1710146030,
|
||||||
|
|||||||
@@ -22,8 +22,7 @@
|
|||||||
nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0";
|
nixpkgs-9e58ed7.url = "github:nixos/nixpkgs/9e58ed7ba759d81c98f033b7f5eba21ca68f53b0";
|
||||||
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
||||||
|
|
||||||
m3ta-nixpkgs.url = "git+https://code.m3ta.dev/m3tam3re/nixpkgs";
|
m3ta-nixpkgs.url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs";
|
||||||
# m3ta-nixpkgs.url = "path:/home/m3tam3re/p/NIX/nixpkgs";
|
|
||||||
llm-agents.url = "github:numtide/llm-agents.nix";
|
llm-agents.url = "github:numtide/llm-agents.nix";
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -44,9 +43,14 @@
|
|||||||
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
|
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
|
||||||
nix-colors.url = "github:misterio77/nix-colors";
|
nix-colors.url = "github:misterio77/nix-colors";
|
||||||
|
|
||||||
|
m3ta-home = {
|
||||||
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
agents = {
|
agents = {
|
||||||
# url = "path:/home/m3tam3re/p/AI/AGENTS";
|
# url = "path:/home/m3tam3re/p/AI/AGENTS";
|
||||||
url = "git+https://code.m3ta.dev/m3tam3re/AGENTS";
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/AGENTS";
|
||||||
};
|
};
|
||||||
## Skills
|
## Skills
|
||||||
skills-basecamp = {
|
skills-basecamp = {
|
||||||
@@ -69,7 +73,12 @@
|
|||||||
url = "github:vercel-labs/skills";
|
url = "github:vercel-labs/skills";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
hermes-agent.url = "github:NousResearch/hermes-agent/v2026.4.23";
|
hermes-agent.url = "github:NousResearch/hermes-agent/v2026.5.7";
|
||||||
|
|
||||||
|
rustfs = {
|
||||||
|
url = "github:rustfs/rustfs-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
@@ -95,7 +104,7 @@
|
|||||||
in {
|
in {
|
||||||
packages =
|
packages =
|
||||||
forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||||
overlays = builtins.removeAttrs allOverlays ["mkLlmAgentsOverlay"];
|
overlays = removeAttrs allOverlays ["mkLlmAgentsOverlay"];
|
||||||
lib.mkLlmAgentsOverlay = allOverlays.mkLlmAgentsOverlay;
|
lib.mkLlmAgentsOverlay = allOverlays.mkLlmAgentsOverlay;
|
||||||
homeManagerModules = import ./modules/home-manager;
|
homeManagerModules = import ./modules/home-manager;
|
||||||
|
|
||||||
@@ -123,6 +132,7 @@
|
|||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
m3ta-nixpkgs.nixosModules.default
|
m3ta-nixpkgs.nixosModules.default
|
||||||
|
inputs.rustfs.nixosModules.rustfs
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
m3-kratos = nixpkgs.lib.nixosSystem {
|
m3-kratos = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
@@ -1,144 +0,0 @@
|
|||||||
# Bat — cat replacement with nix-colors syntax highlighting theme.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.bat;
|
|
||||||
palette = config.colorScheme.palette;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.bat.enable = mkEnableOption "enable bat with nix-colors theme";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.bat = {
|
|
||||||
enable = true;
|
|
||||||
config = {theme = "universal";};
|
|
||||||
themes = {
|
|
||||||
universal = {
|
|
||||||
src = pkgs.writeText "universal.tmTheme" ''
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Universal (nix-colors)</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#${palette.base00}</string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base05}</string>
|
|
||||||
<key>caret</key>
|
|
||||||
<string>#${palette.base05}</string>
|
|
||||||
<key>selection</key>
|
|
||||||
<string>#${palette.base02}</string>
|
|
||||||
<key>selectionForeground</key>
|
|
||||||
<string>#${palette.base05}</string>
|
|
||||||
<key>lineHighlight</key>
|
|
||||||
<string>#${palette.base01}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Comment</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>comment</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base03}</string>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string>italic</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>String</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>string</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base0A}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Number</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>constant.numeric</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base0E}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Keyword</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>keyword</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base08}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Function</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.function</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base0B}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Type</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.type, storage.type</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base0D}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Variable</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>variable</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base05}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Constant</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>constant</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${palette.base0E}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
# Carapace — multi-shell completion engine with Fish, Nushell, and Bash integration.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.carapace;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.carapace.enable = mkEnableOption "enable carapace completion engine";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.carapace = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# CLI tools aggregator — imports all base command-line utilities.
|
|
||||||
{...}: {
|
|
||||||
imports = [
|
|
||||||
./bat.nix
|
|
||||||
./carapace.nix
|
|
||||||
./direnv.nix
|
|
||||||
./eza.nix
|
|
||||||
./fzf.nix
|
|
||||||
./lf.nix
|
|
||||||
./nitch.nix
|
|
||||||
./packages.nix
|
|
||||||
./television.nix
|
|
||||||
./zellij.nix
|
|
||||||
./zellij-ps.nix
|
|
||||||
./zoxide.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# Direnv — automatic environment loading with nix-direnv integration.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.direnv;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.direnv.enable = mkEnableOption "enable direnv with nix-direnv";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.direnv = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
# Eza — modern ls replacement with icons, git status, and long format by default.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.eza;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.eza.enable = mkEnableOption "enable eza modern ls replacement";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.eza = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
extraOptions = ["-l" "--icons" "--git" "-a"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
# Fuzzy finder with nix-colors palette and Wayland clipboard integration.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.fzf;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.fzf.enable = mkEnableOption "enable fuzzy finder";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
colors = {
|
|
||||||
"fg" = "#${config.colorScheme.palette.base05}";
|
|
||||||
"bg" = "#${config.colorScheme.palette.base00}";
|
|
||||||
"hl" = "#${config.colorScheme.palette.base0E}";
|
|
||||||
"fg+" = "#${config.colorScheme.palette.base05}";
|
|
||||||
"bg+" = "#${config.colorScheme.palette.base02}";
|
|
||||||
"hl+" = "#${config.colorScheme.palette.base0E}";
|
|
||||||
"info" = "#${config.colorScheme.palette.base09}";
|
|
||||||
"prompt" = "#${config.colorScheme.palette.base0B}";
|
|
||||||
"pointer" = "#${config.colorScheme.palette.base08}";
|
|
||||||
"marker" = "#${config.colorScheme.palette.base08}";
|
|
||||||
"spinner" = "#${config.colorScheme.palette.base09}";
|
|
||||||
"header" = "#${config.colorScheme.palette.base03}";
|
|
||||||
};
|
|
||||||
defaultOptions = [
|
|
||||||
"--preview='bat --color=always -n {}'"
|
|
||||||
"--bind 'ctrl-/:toggle-preview'"
|
|
||||||
"--header 'Press CTRL-Y to copy command into clipboard'"
|
|
||||||
"--bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'"
|
|
||||||
];
|
|
||||||
defaultCommand = "fd --type f --exclude .git --follow --hidden";
|
|
||||||
changeDirWidgetCommand = "fd --type d --exclude .git --follow --hidden";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Lf — terminal file manager with bat preview and Dracula theme.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.lf;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.lf.enable = mkEnableOption "enable lf terminal file manager";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = [pkgs.lf];
|
|
||||||
|
|
||||||
programs.lf = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
preview = true;
|
|
||||||
drawbox = true;
|
|
||||||
hidden = true;
|
|
||||||
icons = true;
|
|
||||||
previewer = "bat";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# Nitch — minimal system information display tool.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.nitch;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.nitch.enable = mkEnableOption "enable nitch";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = [pkgs.nitch];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# Essential CLI packages — core utilities always available on every host.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.essentials;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.essentials.enable = mkEnableOption "enable essential CLI packages";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# Core utilities
|
|
||||||
coreutils
|
|
||||||
fd
|
|
||||||
htop
|
|
||||||
jq
|
|
||||||
ripgrep
|
|
||||||
|
|
||||||
# Dev tools
|
|
||||||
devenv
|
|
||||||
gcc
|
|
||||||
go
|
|
||||||
httpie
|
|
||||||
just
|
|
||||||
lazygit
|
|
||||||
nix-index
|
|
||||||
nix-update
|
|
||||||
progress
|
|
||||||
sqlite
|
|
||||||
sqlite-vec
|
|
||||||
tldr
|
|
||||||
|
|
||||||
# AI tools
|
|
||||||
comma
|
|
||||||
fabric-ai
|
|
||||||
llm
|
|
||||||
|
|
||||||
# Misc
|
|
||||||
basecamp
|
|
||||||
hyprpaper-random
|
|
||||||
libnotify
|
|
||||||
trash-cli
|
|
||||||
unzip
|
|
||||||
yazi
|
|
||||||
zip
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
# Television — fuzzy finder with custom channels for tldr, git-diff, and git-log.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.television;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.television.enable = mkEnableOption "enable television";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.television = {
|
|
||||||
enable = true;
|
|
||||||
channels = {
|
|
||||||
tldr = {
|
|
||||||
metadata = {
|
|
||||||
description = "Browse TLDR pages";
|
|
||||||
name = "tldr";
|
|
||||||
requirements = ["tldr"];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "tldr '{}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "tldr --list";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
git-diff = {
|
|
||||||
metadata = {
|
|
||||||
description = "A channel to select files from git diff commands";
|
|
||||||
name = "git-diff";
|
|
||||||
requirements = ["git"];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "git diff HEAD --color=always -- '{}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "git diff --name-only HEAD";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
git-log = {
|
|
||||||
metadata = {
|
|
||||||
description = "A channel to select from git log entries";
|
|
||||||
name = "git-log";
|
|
||||||
requirements = ["git"];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "git show -p --stat --pretty=fuller --color=always '{0}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\"";
|
|
||||||
output = "{split: :0}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Zellij-ps — project-aware Zellij session manager from m3ta-nixpkgs.
|
|
||||||
# Delegates to the cli.zellij-ps module provided by inputs.m3ta-nixpkgs.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.zellijPs;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.zellijPs = {
|
|
||||||
enable = mkEnableOption "enable zellij-ps project session manager";
|
|
||||||
|
|
||||||
projectFolders = mkOption {
|
|
||||||
type = types.listOf types.path;
|
|
||||||
description = "Project root folders scanned by zellij-ps.";
|
|
||||||
default = ["${config.home.homeDirectory}/p"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
cli.zellij-ps = {
|
|
||||||
enable = true;
|
|
||||||
projectFolders = cfg.projectFolders;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
# Zellij terminal multiplexer with nix-colors theming.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.zellij;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.zellij.enable = mkEnableOption "enable zellij multiplexer";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.zellij = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
theme = "universal";
|
|
||||||
themes.universal = {
|
|
||||||
bg = "#${config.colorScheme.palette.base00}";
|
|
||||||
fg = "#${config.colorScheme.palette.base05}";
|
|
||||||
black = "#${config.colorScheme.palette.base01}";
|
|
||||||
red = "#${config.colorScheme.palette.base08}";
|
|
||||||
green = "#${config.colorScheme.palette.base0B}";
|
|
||||||
yellow = "#${config.colorScheme.palette.base0A}";
|
|
||||||
blue = "#${config.colorScheme.palette.base0D}";
|
|
||||||
magenta = "#${config.colorScheme.palette.base0E}";
|
|
||||||
cyan = "#${config.colorScheme.palette.base0C}";
|
|
||||||
white = "#${config.colorScheme.palette.base07}";
|
|
||||||
orange = "#${config.colorScheme.palette.base09}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# Zoxide — smarter cd with Fish and Nushell integration.
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.base.cliTools.zoxide;
|
|
||||||
in {
|
|
||||||
options.base.cliTools.zoxide.enable = mkEnableOption "enable zoxide smarter cd";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
outputs,
|
|
||||||
pkgs,
|
|
||||||
system,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
inputs.nix-colors.homeManagerModules.default
|
|
||||||
inputs.m3ta-nixpkgs.homeManagerModules.default
|
|
||||||
]; #imports = builtins.attrValues outputs.homeManagerModules;
|
|
||||||
nixpkgs = {
|
|
||||||
# You can add overlays here
|
|
||||||
overlays = [
|
|
||||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
|
||||||
#outputs.overlays.additions
|
|
||||||
#outputs.overlays.modifications
|
|
||||||
outputs.overlays.temp-packages
|
|
||||||
outputs.overlays.stable-packages
|
|
||||||
outputs.overlays.locked-packages
|
|
||||||
outputs.overlays.pinned-packages
|
|
||||||
outputs.overlays.master-packages
|
|
||||||
|
|
||||||
inputs.nur.overlays.default
|
|
||||||
inputs.m3ta-nixpkgs.overlays.default
|
|
||||||
inputs.m3ta-nixpkgs.overlays.modifications
|
|
||||||
(outputs.lib.mkLlmAgentsOverlay system)
|
|
||||||
# You can also add overlays exported from other flakes:
|
|
||||||
# neovim-nightly-overlay.overlays.default
|
|
||||||
|
|
||||||
# Or define it inline, for example:
|
|
||||||
# (final: prev: {
|
|
||||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
|
||||||
# patches = [ ./change-hello-to-hi.patch ];
|
|
||||||
# });
|
|
||||||
# })
|
|
||||||
];
|
|
||||||
# Configure your nixpkgs instance
|
|
||||||
config = {
|
|
||||||
# Disable if you don't want unfree packages
|
|
||||||
allowUnfree = true;
|
|
||||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
|
||||||
allowUnfreePredicate = _: true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
package = lib.mkDefault pkgs.nix;
|
|
||||||
settings = {
|
|
||||||
experimental-features = ["nix-command" "flakes"];
|
|
||||||
warn-dirty = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
colorScheme = inputs.nix-colors.colorSchemes.dracula;
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# CLI FEATURES (home-manager)
|
|
||||||
|
|
||||||
**Shell and terminal tooling with Fish + Nushell dual configuration**
|
|
||||||
|
|
||||||
## OVERVIEW
|
|
||||||
8 CLI modules with integrated tooling across Fish and Nushell shells.
|
|
||||||
|
|
||||||
## STRUCTURE
|
|
||||||
```
|
|
||||||
cli/
|
|
||||||
├── default.nix # Imports + shared tools (bat, eza, direnv)
|
|
||||||
├── fish.nix # Fish shell + aliases
|
|
||||||
├── fzf.nix # Fuzzy finder
|
|
||||||
├── nitch.nix # System info tool
|
|
||||||
├── nushell.nix # Nushell + aliases
|
|
||||||
├── secrets.nix # Password-store integration
|
|
||||||
├── starship.nix # Shell prompt
|
|
||||||
└── zellij.nix # Terminal multiplexer
|
|
||||||
```
|
|
||||||
|
|
||||||
## WHERE TO LOOK
|
|
||||||
|
|
||||||
| Task | Location | Notes |
|
|
||||||
|------|----------|-------|
|
|
||||||
| Add CLI tool | default.nix home.packages | Check if shell integration needed |
|
|
||||||
| Shell aliases | fish.nix or nushell.nix | Kept in sync between shells |
|
|
||||||
| Prompt config | starship.nix | Uses nerd-fonts symbols |
|
|
||||||
| Secret access | secrets.nix | Agenix integration |
|
|
||||||
|
|
||||||
## CONVENTIONS
|
|
||||||
|
|
||||||
### Shell Integration Pattern
|
|
||||||
Tools with shell hooks enabled in both Fish and Nushell:
|
|
||||||
- **carapace**: Completions
|
|
||||||
- **zoxide**: Smart cd
|
|
||||||
- **eza**: ls replacement
|
|
||||||
- **direnv**: Directory environments
|
|
||||||
- **fzf**: Fuzzy finding
|
|
||||||
|
|
||||||
### NixOS Rebuild Aliases (both shells)
|
|
||||||
```
|
|
||||||
nr/nrs - nixos-rebuild [switch]
|
|
||||||
snr/snrs - sudo nixos-rebuild [switch]
|
|
||||||
hms - home-manager switch
|
|
||||||
```
|
|
||||||
|
|
||||||
### Bat Theme
|
|
||||||
Custom `universal` theme generated from nix-colors palette in default.nix (lines 34-157).
|
|
||||||
|
|
||||||
### Secrets Integration
|
|
||||||
Fish/Nushell source `$HOME/.secrets` if `secrets.enable = true` (CLI secrets feature).
|
|
||||||
|
|
||||||
## ANTI-PATTERNS
|
|
||||||
|
|
||||||
- **DON'T** add aliases to only one shell - keep Fish/Nushell in sync
|
|
||||||
- **DON'T** use `programs.bash` - Nushell is default shell
|
|
||||||
- **DON'T** bypass carapace for completions - integrated by default
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
- zellij-ps custom package for project session management
|
|
||||||
- Default shell set to Nushell in hosts/common/default.nix
|
|
||||||
- Bat theme dynamically generated (no external theme files)
|
|
||||||
- lf file manager uses bat for previews
|
|
||||||
- Agenix CLI (agenix-cli) included for secret management
|
|
||||||
@@ -1,230 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
videoDrivers,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
./fish.nix
|
|
||||||
./fzf.nix
|
|
||||||
./nitch.nix
|
|
||||||
./nushell.nix
|
|
||||||
./secrets.nix
|
|
||||||
./starship.nix
|
|
||||||
./television.nix
|
|
||||||
./zellij.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.carapace = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.bat = {
|
|
||||||
enable = true;
|
|
||||||
config = {theme = "universal";};
|
|
||||||
themes = {
|
|
||||||
universal = {
|
|
||||||
src = pkgs.writeText "universal.tmTheme" ''
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Universal (nix-colors)</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#${config.colorScheme.palette.base00}</string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base05}</string>
|
|
||||||
<key>caret</key>
|
|
||||||
<string>#${config.colorScheme.palette.base05}</string>
|
|
||||||
<key>selection</key>
|
|
||||||
<string>#${config.colorScheme.palette.base02}</string>
|
|
||||||
<key>selectionForeground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base05}</string>
|
|
||||||
<key>lineHighlight</key>
|
|
||||||
<string>#${config.colorScheme.palette.base01}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Comment</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>comment</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base03}</string>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string>italic</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>String</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>string</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base0A}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Number</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>constant.numeric</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base0E}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Keyword</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>keyword</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base08}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Function</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.function</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base0B}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Type</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.type, storage.type</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base0D}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Variable</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>variable</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base05}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Constant</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>constant</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#${config.colorScheme.palette.base0E}</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.direnv = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.eza = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
extraOptions = ["-l" "--icons" "--git" "-a"];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.lf = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
preview = true;
|
|
||||||
drawbox = true;
|
|
||||||
hidden = true;
|
|
||||||
icons = true;
|
|
||||||
theme = "Dracula";
|
|
||||||
previewer = "bat";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cli.zellij-ps = {
|
|
||||||
enable = true;
|
|
||||||
projectFolders = ["/home/m3tam3re/p"];
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
basecamp
|
|
||||||
comma
|
|
||||||
coreutils
|
|
||||||
devenv
|
|
||||||
fabric-ai
|
|
||||||
fd
|
|
||||||
gcc
|
|
||||||
go
|
|
||||||
htop
|
|
||||||
httpie
|
|
||||||
hyprpaper-random
|
|
||||||
jq
|
|
||||||
just
|
|
||||||
lazygit
|
|
||||||
llm
|
|
||||||
lf
|
|
||||||
nix-index
|
|
||||||
nix-update
|
|
||||||
libnotify
|
|
||||||
nushellPlugins.skim
|
|
||||||
progress
|
|
||||||
ripgrep
|
|
||||||
rocmPackages.rocm-smi
|
|
||||||
rocmPackages.rocminfo
|
|
||||||
rocmPackages.rocm-runtime
|
|
||||||
sqlite
|
|
||||||
sqlite-vec
|
|
||||||
tldr
|
|
||||||
pomodoro-timer
|
|
||||||
trash-cli
|
|
||||||
unimatrix
|
|
||||||
unzip
|
|
||||||
vulkan-tools
|
|
||||||
wttrbar
|
|
||||||
wireguard-tools
|
|
||||||
yazi
|
|
||||||
zellij-ps
|
|
||||||
zip
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,116 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.fish;
|
|
||||||
in {
|
|
||||||
options.features.cli.fish.enable = mkEnableOption "enable fish shell";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.fish = {
|
|
||||||
enable = true;
|
|
||||||
interactiveShellInit = ''
|
|
||||||
# Fish colors using universal nix-colors palette
|
|
||||||
# Text colors
|
|
||||||
set -g fish_color_normal ${config.colorScheme.palette.base05} # text
|
|
||||||
set -g fish_color_param ${config.colorScheme.palette.base05} # text
|
|
||||||
set -g fish_color_comment ${config.colorScheme.palette.base03} # muted
|
|
||||||
set -g fish_color_autosuggestion ${config.colorScheme.palette.base03} # muted
|
|
||||||
|
|
||||||
# Command colors
|
|
||||||
set -g fish_color_command ${config.colorScheme.palette.base0D} # accent6 (blue)
|
|
||||||
set -g fish_color_quote ${config.colorScheme.palette.base0A} # accent3 (yellow)
|
|
||||||
set -g fish_color_redirection ${config.colorScheme.palette.base0E} # accent7 (purple)
|
|
||||||
set -g fish_color_end ${config.colorScheme.palette.base08} # accent1 (red)
|
|
||||||
set -g fish_color_error ${config.colorScheme.palette.base08} # accent1 (red)
|
|
||||||
set -g fish_color_operator ${config.colorScheme.palette.base0C} # accent5 (cyan)
|
|
||||||
set -g fish_color_escape ${config.colorScheme.palette.base09} # accent2 (orange)
|
|
||||||
|
|
||||||
# Path colors
|
|
||||||
set -g fish_color_cwd ${config.colorScheme.palette.base0B} # accent4 (green)
|
|
||||||
set -g fish_color_cwd_root ${config.colorScheme.palette.base08} # accent1 (red)
|
|
||||||
set -g fish_color_valid_path --underline
|
|
||||||
|
|
||||||
# Interactive colors
|
|
||||||
set -g fish_color_match ${config.colorScheme.palette.base0B} # accent4 (green)
|
|
||||||
set -g fish_color_selection --background=${config.colorScheme.palette.base02} # overlay
|
|
||||||
set -g fish_color_search_match --background=${config.colorScheme.palette.base02} # overlay
|
|
||||||
set -g fish_color_history_current --bold
|
|
||||||
set -g fish_color_user ${config.colorScheme.palette.base0B} # accent4 (green)
|
|
||||||
set -g fish_color_host ${config.colorScheme.palette.base0D} # accent6 (blue)
|
|
||||||
set -g fish_color_cancel -r
|
|
||||||
|
|
||||||
# Pager colors
|
|
||||||
set -g fish_pager_color_completion normal
|
|
||||||
set -g fish_pager_color_description ${config.colorScheme.palette.base03} # muted
|
|
||||||
set -g fish_pager_color_prefix ${config.colorScheme.palette.base0E} # accent7 (purple)
|
|
||||||
set -g fish_pager_color_progress ${config.colorScheme.palette.base0B} # accent4 (green)
|
|
||||||
'';
|
|
||||||
loginShellInit = ''
|
|
||||||
set -x NIX_PATH nixpkgs=channel:nixos-unstable
|
|
||||||
set -x NIX_LOG info
|
|
||||||
set -x WEBKIT_DISABLE_COMPOSITING_MODE 1
|
|
||||||
set -x TERMINAL ghostty
|
|
||||||
set -x EDITOR nvim
|
|
||||||
set -x VISUAL zed
|
|
||||||
set -x XDG_DATA_HOME $HOME/.local/share
|
|
||||||
set -x FZF_CTRL_R_OPTS "
|
|
||||||
--preview='bat --color=always -n {}'
|
|
||||||
--preview-window up:3:hidden:wrap
|
|
||||||
--bind 'ctrl-/:toggle-preview'
|
|
||||||
--bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'
|
|
||||||
--color header:bold
|
|
||||||
--header 'Press CTRL-Y to copy command into clipboard'"
|
|
||||||
set -x FZF_DEFAULT_COMMAND fd --type f --exclude .git --follow --hidden
|
|
||||||
set -x FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND"
|
|
||||||
set -x FLAKE $HOME/p/nixos/nixos-config
|
|
||||||
source /run/agenix/${config.home.username}-secrets
|
|
||||||
|
|
||||||
if test (tty) = "/dev/tty1"
|
|
||||||
exec uwsm start -F /run/current-system/sw/bin/Hyprland
|
|
||||||
end
|
|
||||||
if test (tty) = "/dev/tty2"
|
|
||||||
exec gamescope -O HDMI-A-1 -W 1920 -H 1080 --adaptive-sync --hdr-enabled --rt --steam -- steam -pipewire-dmabuf -tenfoot
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
shellAbbrs = {
|
|
||||||
".." = "cd ..";
|
|
||||||
"..." = "cd ../..";
|
|
||||||
b = "yazi";
|
|
||||||
ls = "eza";
|
|
||||||
l = "eza -l --icons --git -a";
|
|
||||||
lt = "eza --tree --level=2 --long --icons --git";
|
|
||||||
grep = "rg";
|
|
||||||
ps = "procs";
|
|
||||||
just = "just --unstable";
|
|
||||||
node = "bun";
|
|
||||||
npx = "bunx";
|
|
||||||
fs = "du -ah . | sort -hr | head -n 10";
|
|
||||||
|
|
||||||
n = "nix";
|
|
||||||
nd = "nix develop -c $SHELL";
|
|
||||||
ns = "nix shell";
|
|
||||||
nsn = "nix shell nixpkgs#";
|
|
||||||
nb = "nix build";
|
|
||||||
nbn = "nix build nixpkgs#";
|
|
||||||
nf = "nix flake";
|
|
||||||
|
|
||||||
nr = "sudo nixos-rebuild --flake .";
|
|
||||||
nrs = "sudo nixos-rebuild switch --flake .#(uname -n)";
|
|
||||||
snr = "sudo nixos-rebuild --flake .";
|
|
||||||
snrs = "sudo nixos-rebuild --flake . switch";
|
|
||||||
hm = "home-manager --flake .";
|
|
||||||
hms = "home-manager --flake . switch";
|
|
||||||
hmr = "cd ~/projects/nix-configurations; nix flake lock --update-input dotfiles; home-manager --flake .#(whoami)@(hostname) switch";
|
|
||||||
|
|
||||||
tsu = "sudo tailscale up";
|
|
||||||
tsd = "sudo tailscale down";
|
|
||||||
|
|
||||||
vi = "nvim";
|
|
||||||
vim = "nvim";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.fzf;
|
|
||||||
in {
|
|
||||||
options.features.cli.fzf.enable = mkEnableOption "enable fuzzy finder";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
colors = {
|
|
||||||
"fg" = "#${config.colorScheme.palette.base05}";
|
|
||||||
"bg" = "#${config.colorScheme.palette.base00}";
|
|
||||||
"hl" = "#${config.colorScheme.palette.base0E}";
|
|
||||||
"fg+" = "#${config.colorScheme.palette.base05}";
|
|
||||||
"bg+" = "#${config.colorScheme.palette.base02}";
|
|
||||||
"hl+" = "#${config.colorScheme.palette.base0E}";
|
|
||||||
"info" = "#${config.colorScheme.palette.base09}";
|
|
||||||
"prompt" = "#${config.colorScheme.palette.base0B}";
|
|
||||||
"pointer" = "#${config.colorScheme.palette.base08}";
|
|
||||||
"marker" = "#${config.colorScheme.palette.base08}";
|
|
||||||
"spinner" = "#${config.colorScheme.palette.base09}";
|
|
||||||
"header" = "#${config.colorScheme.palette.base03}";
|
|
||||||
};
|
|
||||||
defaultOptions = [
|
|
||||||
"--preview='bat --color=always -n {}'"
|
|
||||||
"--bind 'ctrl-/:toggle-preview'"
|
|
||||||
"--header 'Press CTRL-Y to copy command into clipboard'"
|
|
||||||
"--bind 'ctrl-/:toggle-preview'"
|
|
||||||
"--bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'"
|
|
||||||
];
|
|
||||||
defaultCommand = "fd --type f --exclude .git --follow --hidden";
|
|
||||||
changeDirWidgetCommand = "fd --type d --exclude .git --follow --hidden";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.nitch;
|
|
||||||
in {
|
|
||||||
options.features.cli.nitch.enable = mkEnableOption "enable nitch";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [nitch];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.nushell;
|
|
||||||
in {
|
|
||||||
options.features.cli.nushell.enable = mkEnableOption "enable nushell";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.nushell = {
|
|
||||||
enable = true;
|
|
||||||
envFile.text = ''
|
|
||||||
$env.config.show_banner = false
|
|
||||||
$env.NIX_PATH = "nixpkgs=channel:nixos-unstable"
|
|
||||||
$env.NIX_LOG = "iunfo"
|
|
||||||
$env.WEBKIT_DISABLE_COMPOSITING_MODE = "1"
|
|
||||||
$env.TERMINAL = "ghostty"
|
|
||||||
$env.EDITOR = "nvim"
|
|
||||||
$env.VISUAL = "zeditor"
|
|
||||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
|
||||||
$env.FZF_DEFAULT_OPTS = "--preview='bat --color=always -n {}' --bind 'ctrl-/:toggle-preview' --header 'Press CTRL-Y to copy command into clipboard' --bind 'ctrl-/:toggle-preview' --bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort' --color bg:#282a36,bg+:#44475a,fg:#f8f8f2,fg+:#f8f8f2,header:#6272a4,hl:#bd93f9,hl+:#bd93f9,info:#ffb86c,marker:#ff79c6,pointer:#ff79c6,prompt:#50fa7b,spinner:#ffb86c"
|
|
||||||
$env.XDG_DATA_HOME = $"($env.HOME)/.local/share"
|
|
||||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
|
||||||
$env.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh"
|
|
||||||
$env.PATH = ($env.PATH | split row (char esep) | append $"($env.HOME)/.cache/.bun/bin" | append $"($env.HOME)/.npm-global/bin" | uniq)
|
|
||||||
$env.NPM_CONFIG_PREFIX = $"($env.HOME)/.npm-global"
|
|
||||||
$env.FLAKE = $"($env.HOME)/p/NIX/nixos-config"
|
|
||||||
|
|
||||||
# Load kestractl-env from agenix
|
|
||||||
if ("/run/agenix/kestractl-env" | path exists) {
|
|
||||||
open /run/agenix/kestractl-env
|
|
||||||
| lines
|
|
||||||
| where {($in | str trim | str length) > 0}
|
|
||||||
| parse "{key}={value}"
|
|
||||||
| update value {str trim -c '"'}
|
|
||||||
| transpose -r -d
|
|
||||||
| load-env
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
# if (tty) == "/dev/tty1" {
|
|
||||||
# exec uwsm start -S -F /run/current-system/sw/bin/Hyprland
|
|
||||||
# }
|
|
||||||
# if (tty) == "/dev/tty2" {
|
|
||||||
# exec gamescope -O HDMI-A-1 -W 1920 -H 1080 --adaptive-sync --hdr-enabled --rt --steam -- steam -pipewire-dmabuf -tenfoot
|
|
||||||
# }
|
|
||||||
configFile.text = ''
|
|
||||||
# Aliases
|
|
||||||
alias .. = cd ..
|
|
||||||
alias ... = cd ...
|
|
||||||
alias h = cd $env.HOME
|
|
||||||
alias b = yazi
|
|
||||||
alias lt = eza --tree --level=2 --long --icons --git
|
|
||||||
alias grep = rg
|
|
||||||
alias just = just --unstable
|
|
||||||
|
|
||||||
alias node = bun
|
|
||||||
alias npx = bunx
|
|
||||||
|
|
||||||
alias n = nix
|
|
||||||
alias nd = nix develop -c $nu.current-shell
|
|
||||||
alias ns = nix shell
|
|
||||||
alias nsn = nix shell nixpkgs#
|
|
||||||
alias nb = nix build
|
|
||||||
alias nbn = nix build nixpkgs#
|
|
||||||
alias nf = nix flake
|
|
||||||
|
|
||||||
alias nr = sudo nixos-rebuild --flake .
|
|
||||||
alias nrs = sudo nixos-rebuild switch --flake .#(sys host | get hostname)
|
|
||||||
alias snr = sudo nixos-rebuild --flake .
|
|
||||||
alias snrs = sudo nixos-rebuild --flake . switch
|
|
||||||
alias hm = home-manager --flake .
|
|
||||||
alias hms = home-manager --flake . switch
|
|
||||||
alias hmr = do { cd ~/projects/nix-configurations; nix flake lock --update-input dotfiles; home-manager --flake .#(whoami)@(hostname) switch }
|
|
||||||
|
|
||||||
alias tsu = sudo tailscale up
|
|
||||||
alias tsd = sudo tailscale down
|
|
||||||
|
|
||||||
alias vi = nvim
|
|
||||||
alias vim = nvim
|
|
||||||
|
|
||||||
if (which tv | is-not-empty) {
|
|
||||||
mkdir ($nu.data-dir | path join "vendor/autoload")
|
|
||||||
tv init nu | save -f ($nu.data-dir | path join "vendor/autoload/tv.nu")
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.secrets;
|
|
||||||
in {
|
|
||||||
options.features.cli.secrets.enable = mkEnableOption "enable secrets";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.password-store = {
|
|
||||||
enable = true;
|
|
||||||
package =
|
|
||||||
pkgs.pass-wayland.withExtensions
|
|
||||||
(exts: [exts.pass-otp exts.pass-import]);
|
|
||||||
settings = {PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store";};
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [pinentry-gnome3];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.starship;
|
|
||||||
in {
|
|
||||||
options.features.cli.starship.enable = mkEnableOption "enable starship prompt";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
settings = {
|
|
||||||
format = "$all$character";
|
|
||||||
palette = "universal";
|
|
||||||
|
|
||||||
palettes.universal = {
|
|
||||||
background = "#${config.colorScheme.palette.base00}";
|
|
||||||
surface = "#${config.colorScheme.palette.base01}";
|
|
||||||
muted = "#${config.colorScheme.palette.base03}";
|
|
||||||
text = "#${config.colorScheme.palette.base05}";
|
|
||||||
bright = "#${config.colorScheme.palette.base07}";
|
|
||||||
accent1 = "#${config.colorScheme.palette.base08}";
|
|
||||||
accent2 = "#${config.colorScheme.palette.base09}";
|
|
||||||
accent3 = "#${config.colorScheme.palette.base0A}";
|
|
||||||
accent4 = "#${config.colorScheme.palette.base0B}";
|
|
||||||
accent5 = "#${config.colorScheme.palette.base0C}";
|
|
||||||
accent6 = "#${config.colorScheme.palette.base0D}";
|
|
||||||
accent7 = "#${config.colorScheme.palette.base0E}";
|
|
||||||
};
|
|
||||||
|
|
||||||
character = {
|
|
||||||
success_symbol = "[❯](accent7)";
|
|
||||||
error_symbol = "[❯](accent1)";
|
|
||||||
};
|
|
||||||
|
|
||||||
directory = {
|
|
||||||
style = "accent6";
|
|
||||||
truncation_length = 3;
|
|
||||||
truncate_to_repo = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
git_branch = {
|
|
||||||
style = "accent7";
|
|
||||||
};
|
|
||||||
|
|
||||||
git_status = {
|
|
||||||
style = "accent5";
|
|
||||||
};
|
|
||||||
|
|
||||||
cmd_duration = {
|
|
||||||
style = "accent3";
|
|
||||||
};
|
|
||||||
|
|
||||||
hostname = {
|
|
||||||
style = "accent4";
|
|
||||||
};
|
|
||||||
|
|
||||||
username = {
|
|
||||||
style_user = "accent2";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.television;
|
|
||||||
in {
|
|
||||||
options.features.cli.television.enable = mkEnableOption "enable nitch";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.television = {
|
|
||||||
enable = true;
|
|
||||||
channels = {
|
|
||||||
tldr = {
|
|
||||||
metadata = {
|
|
||||||
description = "Browse TLDR pages";
|
|
||||||
name = "tldr";
|
|
||||||
requirements = [
|
|
||||||
"tldr"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "tldr '{}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "tldr --list";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
git-diff = {
|
|
||||||
metadata = {
|
|
||||||
description = "A channel to select files from git diff commands";
|
|
||||||
name = "git-diff";
|
|
||||||
requirements = [
|
|
||||||
"git"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "git diff HEAD --color=always -- '{}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "git diff --name-only HEAD";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
git-log = {
|
|
||||||
metadata = {
|
|
||||||
description = "A channel to select from git log entries";
|
|
||||||
name = "git-log";
|
|
||||||
requirements = [
|
|
||||||
"git"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
preview = {
|
|
||||||
command = "git show -p --stat --pretty=fuller --color=always '{0}'";
|
|
||||||
};
|
|
||||||
source = {
|
|
||||||
command = "git log --oneline --date=short --pretty=\"format:%h %s %an %cd\" \"$@\"";
|
|
||||||
output = "{split: :0}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.cli.zellij;
|
|
||||||
in {
|
|
||||||
options.features.cli.zellij.enable = mkEnableOption "enable tmux";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.zellij = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
theme = "universal";
|
|
||||||
themes.universal = {
|
|
||||||
bg = "#${config.colorScheme.palette.base00}";
|
|
||||||
fg = "#${config.colorScheme.palette.base05}";
|
|
||||||
black = "#${config.colorScheme.palette.base01}";
|
|
||||||
red = "#${config.colorScheme.palette.base08}";
|
|
||||||
green = "#${config.colorScheme.palette.base0B}";
|
|
||||||
yellow = "#${config.colorScheme.palette.base0A}";
|
|
||||||
blue = "#${config.colorScheme.palette.base0D}";
|
|
||||||
magenta = "#${config.colorScheme.palette.base0E}";
|
|
||||||
cyan = "#${config.colorScheme.palette.base0C}";
|
|
||||||
white = "#${config.colorScheme.palette.base07}";
|
|
||||||
orange = "#${config.colorScheme.palette.base09}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
videoDrivers,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
npmGlobalPrefix = "${config.home.homeDirectory}/.npm-global";
|
|
||||||
in {
|
|
||||||
home.file.".npmrc".text = ''
|
|
||||||
prefix=${npmGlobalPrefix}
|
|
||||||
'';
|
|
||||||
home.sessionVariables.NPM_CONFIG_PREFIX = npmGlobalPrefix;
|
|
||||||
imports = [
|
|
||||||
./opencode.nix
|
|
||||||
./pi.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
coding.agents.skills = {
|
|
||||||
agentsInput = inputs.agents;
|
|
||||||
externalSkills = [
|
|
||||||
{
|
|
||||||
src = inputs.skills-anthropic;
|
|
||||||
selectSkills = ["pdf" "docx" "frontend-design"];
|
|
||||||
}
|
|
||||||
{src = inputs.skills-superpowers;}
|
|
||||||
{src = inputs.skills-vercel;}
|
|
||||||
{src = inputs.skills-basecamp;}
|
|
||||||
{src = inputs.skills-kestra;}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.mcp = {
|
|
||||||
enable = true;
|
|
||||||
servers = {
|
|
||||||
DeepWiki = {
|
|
||||||
url = "https://mcp.deepwiki.com/mcp";
|
|
||||||
};
|
|
||||||
Ref = {
|
|
||||||
command = "bash";
|
|
||||||
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
|
||||||
};
|
|
||||||
Exa = {
|
|
||||||
command = "bash";
|
|
||||||
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
|
||||||
};
|
|
||||||
Outline = {
|
|
||||||
url = "https://wiki.az-gruppe.com/mcp";
|
|
||||||
};
|
|
||||||
ContextMode = {
|
|
||||||
command = "bash";
|
|
||||||
args = ["-c" "exec bunx context-mode@latest"];
|
|
||||||
};
|
|
||||||
Honcho = {
|
|
||||||
command = "bash";
|
|
||||||
args = [
|
|
||||||
"-c"
|
|
||||||
''exec bunx mcp-remote@latest https://mcp.honcho.dev --header "Authorization:Bearer $(cat /run/agenix/honcho-key)" --header "X-Honcho-User-Name:m3tam3re"''
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
agenix-cli
|
|
||||||
agent-browser
|
|
||||||
alejandra
|
|
||||||
bc
|
|
||||||
bun
|
|
||||||
devpod
|
|
||||||
#devpod-desktop
|
|
||||||
gnumake
|
|
||||||
cmake
|
|
||||||
(python3.withPackages (ps:
|
|
||||||
with ps; [
|
|
||||||
pip
|
|
||||||
uv
|
|
||||||
# Scientific packages
|
|
||||||
numba
|
|
||||||
numpy
|
|
||||||
torch
|
|
||||||
srt
|
|
||||||
]))
|
|
||||||
pyrefly
|
|
||||||
nixd
|
|
||||||
nix-update
|
|
||||||
nodejs
|
|
||||||
# opencode-desktop
|
|
||||||
(qmd.override {
|
|
||||||
vulkanSupport = videoDrivers == ["amdgpu"];
|
|
||||||
cudaSupport = videoDrivers == ["nvidia"];
|
|
||||||
})
|
|
||||||
openshell
|
|
||||||
openspec
|
|
||||||
pi-coding-agent
|
|
||||||
alejandra
|
|
||||||
sidecar
|
|
||||||
tailwindcss
|
|
||||||
tailwindcss-language-server
|
|
||||||
td
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,116 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
coding.agents.opencode = {
|
|
||||||
enable = true;
|
|
||||||
agentsInput = inputs.agents;
|
|
||||||
};
|
|
||||||
|
|
||||||
coding.opencode = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
ohMyOpencodeSettings = {
|
|
||||||
agents = {
|
|
||||||
sisyphus.model = "litellm/claude-opus-4-6";
|
|
||||||
oracle.model = "litellm/claude-sonnet-4-6";
|
|
||||||
librarian.model = "litellm/claude-sonnet-4-6";
|
|
||||||
explore.model = "litellm/claude-haiku-4-5";
|
|
||||||
multimodal-looker.model = "litellm/gpt-5.3-codex";
|
|
||||||
prometheus.model = "litellm/claude-opus-4-6";
|
|
||||||
metis.model = "litellm/claude-opus-4-6";
|
|
||||||
momus.model = "litellm/claude-opus-4-6";
|
|
||||||
atlas.model = "litellm/claude-sonnet-4-6";
|
|
||||||
};
|
|
||||||
categories = {
|
|
||||||
visual-engineering.model = "zai-coding-plan/glm-5.1";
|
|
||||||
ultrabrain.model = "litellm/claude-opus-4-6";
|
|
||||||
deep.model = "litellm/claude-sonnet-4-6";
|
|
||||||
artistry.model = "zai-coding-plan/glm-5.1";
|
|
||||||
quick.model = "litellm/claude-haiku-4-5";
|
|
||||||
unspecified-low.model = "litellm/claude-sonnet-4-6";
|
|
||||||
unspecified-high.model = "litellm/claude-opus-4-6";
|
|
||||||
writing.model = "zai-coding-plan/glm-5.1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Keep TUI settings in programs.opencode.tui to satisfy OpenCode v1.2.15+.
|
|
||||||
programs.opencode.tui.theme = "opencode";
|
|
||||||
|
|
||||||
# Override legacy default settings to avoid deprecated TUI keys in settings.
|
|
||||||
programs.opencode.settings = lib.mkForce {
|
|
||||||
plugin = ["oh-my-openagent"];
|
|
||||||
formatter = {
|
|
||||||
alejandra = {
|
|
||||||
command = ["alejandra" "-q" "-"];
|
|
||||||
extensions = [".nix"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# AZ-Gruppe LiteLLM endpoint + available models
|
|
||||||
provider = {
|
|
||||||
litellm = {
|
|
||||||
npm = "@ai-sdk/openai-compatible";
|
|
||||||
name = "LiteLLM (AZ-Gruppe)";
|
|
||||||
options.baseURL = "https://llm.az-gruppe.com/v1";
|
|
||||||
models = {
|
|
||||||
"gpt-5.2" = {
|
|
||||||
name = "GPT-5.2";
|
|
||||||
limit = {
|
|
||||||
context = 400000;
|
|
||||||
output = 128000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"gpt-5.3-codex" = {
|
|
||||||
name = "GPT-5.3 Codex";
|
|
||||||
limit = {
|
|
||||||
context = 400000;
|
|
||||||
output = 128000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"claude-haiku-4-5" = {
|
|
||||||
name = "Claude Haiku 4.5";
|
|
||||||
options = {
|
|
||||||
thinking = {
|
|
||||||
type = "enabled";
|
|
||||||
budget_tokens = 16000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
limit = {
|
|
||||||
context = 200000;
|
|
||||||
output = 64000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"claude-sonnet-4-6" = {
|
|
||||||
name = "Claude Sonnet 4.6";
|
|
||||||
options = {
|
|
||||||
thinking = {
|
|
||||||
type = "enabled";
|
|
||||||
budget_tokens = 16000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
limit = {
|
|
||||||
context = 200000;
|
|
||||||
output = 64000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"claude-opus-4-6" = {
|
|
||||||
name = "Claude Opus 4.6";
|
|
||||||
options = {
|
|
||||||
thinking = {
|
|
||||||
type = "enabled";
|
|
||||||
budget_tokens = 16000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
limit = {
|
|
||||||
context = 200000;
|
|
||||||
output = 128000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
{inputs, ...}: {
|
|
||||||
coding.agents.pi = {
|
|
||||||
enable = true;
|
|
||||||
agentsInput = inputs.agents;
|
|
||||||
|
|
||||||
modelOverrides = {
|
|
||||||
chiron = "minimax/MiniMax-M2.7";
|
|
||||||
chiron-forge = "minimax/MiniMax-M2.7";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Coding rules for Pi agent
|
|
||||||
# Rules sourced from AGENTS repo
|
|
||||||
codingRules = {
|
|
||||||
# Language-specific rules
|
|
||||||
languages = [
|
|
||||||
"nix" # Nix language conventions
|
|
||||||
];
|
|
||||||
|
|
||||||
# Standard concerns from AGENTS repo
|
|
||||||
concerns = [
|
|
||||||
"coding-style" # General coding principles
|
|
||||||
"naming" # Naming conventions (camelCase, snake_case, etc.)
|
|
||||||
"documentation" # Documentation standards
|
|
||||||
"testing" # Testing guidelines (Arrange-Act-Assert)
|
|
||||||
"git-workflow" # Conventional commits, branch naming
|
|
||||||
"project-structure" # Project layout conventions
|
|
||||||
];
|
|
||||||
|
|
||||||
# No framework-specific rules for NixOS config
|
|
||||||
frameworks = [];
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
packages = [
|
|
||||||
"npm:@thesethrose/pi-zai-provider"
|
|
||||||
"npm:pi-mcp-adapter"
|
|
||||||
"npm:pi-subagents"
|
|
||||||
"npm:pi-lens"
|
|
||||||
"npm:pi-web-access"
|
|
||||||
"npm:pi-prompt-template-model"
|
|
||||||
"npm:@plannotator/pi-extension"
|
|
||||||
"npm:pi-powerline-footer"
|
|
||||||
"npm:pi-markdown-preview"
|
|
||||||
"npm:pi-gsd"
|
|
||||||
"npm:pi-tool-display"
|
|
||||||
"npm:pi-agent-browser-native"
|
|
||||||
"git:github.com/hk-vk/pi-connect"
|
|
||||||
];
|
|
||||||
|
|
||||||
defaultProvider = "minimax";
|
|
||||||
defaultModel = "MiniMax-M2.7";
|
|
||||||
defaultThinkingLevel = "high";
|
|
||||||
};
|
|
||||||
|
|
||||||
# MCP servers auto-inherited from programs.mcp in default.nix
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
# DESKTOP FEATURES (home-manager)
|
|
||||||
|
|
||||||
**Wayland/Hyprland environment with color-coordinated tooling**
|
|
||||||
|
|
||||||
## OVERVIEW
|
|
||||||
12 modular desktop features with nix-colors (Dracula) integration across all components.
|
|
||||||
|
|
||||||
## STRUCTURE
|
|
||||||
```
|
|
||||||
desktop/
|
|
||||||
├── default.nix # Imports + XDG + Kitty config
|
|
||||||
├── coding.nix # Development tools (VSCode, etc.)
|
|
||||||
├── crypto.nix # Crypto wallets/tools
|
|
||||||
├── fonts.nix # Font packages
|
|
||||||
├── gaming.nix # Gaming tools/Steam
|
|
||||||
├── hyprland.nix # Hyprland WM configuration
|
|
||||||
├── media.nix # Media players/editors
|
|
||||||
├── office.nix # LibreOffice, document tools
|
|
||||||
├── rofi.nix # Application launcher
|
|
||||||
├── theme.nix # GTK/Qt theming
|
|
||||||
├── wayland.nix # Wayland utilities
|
|
||||||
└── webapps.nix # Browser-based apps
|
|
||||||
```
|
|
||||||
|
|
||||||
## WHERE TO LOOK
|
|
||||||
|
|
||||||
| Task | Location | Notes |
|
|
||||||
|------|----------|-------|
|
|
||||||
| Add desktop app | Relevant feature .nix | Update home.packages |
|
|
||||||
| Configure Hyprland | hyprland.nix | Window manager settings |
|
|
||||||
| Fix colors | Check colorScheme references | Uses config.colorScheme.palette.base* |
|
|
||||||
| Add font | fonts.nix | Increases system closure size |
|
|
||||||
|
|
||||||
## CONVENTIONS
|
|
||||||
|
|
||||||
### Color Scheme Integration
|
|
||||||
All color-aware tools reference `config.colorScheme.palette.base00` through `base0F`:
|
|
||||||
- **base00-07**: Grayscale (dark to light)
|
|
||||||
- **base08**: Red/errors
|
|
||||||
- **base09**: Orange
|
|
||||||
- **base0A**: Yellow/strings
|
|
||||||
- **base0B**: Green/functions
|
|
||||||
- **base0C**: Cyan
|
|
||||||
- **base0D**: Blue/types
|
|
||||||
- **base0E**: Purple/constants
|
|
||||||
- **base0F**: Brown
|
|
||||||
|
|
||||||
Template:
|
|
||||||
```nix
|
|
||||||
foreground = "#${config.colorScheme.palette.base05}";
|
|
||||||
background = "#${config.colorScheme.palette.base00}";
|
|
||||||
```
|
|
||||||
|
|
||||||
### Session Variables
|
|
||||||
Set in default.nix for Wayland/Hyprland:
|
|
||||||
```nix
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
|
||||||
```
|
|
||||||
|
|
||||||
### XDG Defaults
|
|
||||||
- **PDF**: okular
|
|
||||||
- **Text**: nvim
|
|
||||||
- **Browser**: Zen (io.github.zen_browser.zen)
|
|
||||||
- **Archive**: file-roller
|
|
||||||
|
|
||||||
## ANTI-PATTERNS
|
|
||||||
|
|
||||||
- **DON'T** hardcode hex colors - use colorScheme palette
|
|
||||||
- **DON'T** install fonts globally - keep in user packages
|
|
||||||
- **DON'T** bypass XDG defaults - set in mimeApps
|
|
||||||
|
|
||||||
## NOTES
|
|
||||||
|
|
||||||
- Kitty terminal configured in default.nix (not separate file)
|
|
||||||
- Bibata-Modern-Ice cursor theme hardcoded
|
|
||||||
- Session path includes cargo, npm-global, bun
|
|
||||||
- Desktop features are always-enabled (no feature flags in this dir)
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.coding;
|
|
||||||
in {
|
|
||||||
options.features.desktop.coding.enable =
|
|
||||||
mkEnableOption "install coding related stuff";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
bruno
|
|
||||||
insomnia
|
|
||||||
];
|
|
||||||
coding.editors = {
|
|
||||||
neovim.enable = true;
|
|
||||||
zed.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.crypto;
|
|
||||||
in {
|
|
||||||
options.features.desktop.crypto.enable = mkEnableOption "Enable Crypto";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [bisq2 monero-gui trezor-suite];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,162 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
./coding.nix
|
|
||||||
./crypto.nix
|
|
||||||
./fonts.nix
|
|
||||||
./gaming.nix
|
|
||||||
./hyprland.nix
|
|
||||||
./media.nix
|
|
||||||
./obsidian.nix
|
|
||||||
./office.nix
|
|
||||||
./rofi.nix
|
|
||||||
./theme.nix
|
|
||||||
./wallpapers.nix
|
|
||||||
./wayland.nix
|
|
||||||
./webapps.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
xdg = {
|
|
||||||
enable = true;
|
|
||||||
configFile."mimeapps.list".force = true;
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
associations.added = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["okularApplication_pdf.desktop"];
|
|
||||||
};
|
|
||||||
defaultApplications = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["okularApplication_pdf.desktop"];
|
|
||||||
"application/md" = ["nvim.desktop"];
|
|
||||||
"application/text" = ["nvim.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["io.github.zen_browser.zen"];
|
|
||||||
"x-scheme-handler/https" = ["io.github.zen_browser.zen"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
userDirs = {
|
|
||||||
enable = true;
|
|
||||||
createDirectories = true;
|
|
||||||
setSessionVariables = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
TERMINAL = "ghostty";
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
|
||||||
};
|
|
||||||
home.sessionPath = ["\${XDG_BIN_HOME}" "\${HOME}/.cargo/bin" "$HOME/.npm-global/bin" "$HOME/.cache/.bun/bin"];
|
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
|
|
||||||
programs.ghostty = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
settings = {
|
|
||||||
font-family = "Fira Code";
|
|
||||||
copy-on-select = true;
|
|
||||||
|
|
||||||
# Base colors from nix-colors
|
|
||||||
foreground = "#${config.colorScheme.palette.base05}";
|
|
||||||
background = "#${config.colorScheme.palette.base00}";
|
|
||||||
selection-foreground = "#${config.colorScheme.palette.base07}";
|
|
||||||
selection-background = "#${config.colorScheme.palette.base02}";
|
|
||||||
|
|
||||||
# Cursor
|
|
||||||
cursor-color = "#${config.colorScheme.palette.base05}";
|
|
||||||
|
|
||||||
# Palette (16 colors)
|
|
||||||
palette = [
|
|
||||||
"0=#${config.colorScheme.palette.base01}"
|
|
||||||
"1=#${config.colorScheme.palette.base08}"
|
|
||||||
"2=#${config.colorScheme.palette.base0B}"
|
|
||||||
"3=#${config.colorScheme.palette.base0A}"
|
|
||||||
"4=#${config.colorScheme.palette.base0D}"
|
|
||||||
"5=#${config.colorScheme.palette.base0E}"
|
|
||||||
"6=#${config.colorScheme.palette.base0C}"
|
|
||||||
"7=#${config.colorScheme.palette.base05}"
|
|
||||||
"8=#${config.colorScheme.palette.base03}"
|
|
||||||
"9=#${config.colorScheme.palette.base08}"
|
|
||||||
"10=#${config.colorScheme.palette.base0B}"
|
|
||||||
"11=#${config.colorScheme.palette.base0A}"
|
|
||||||
"12=#${config.colorScheme.palette.base0D}"
|
|
||||||
"13=#${config.colorScheme.palette.base0E}"
|
|
||||||
"14=#${config.colorScheme.palette.base0C}"
|
|
||||||
"15=#${config.colorScheme.palette.base07}"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.pointerCursor = {
|
|
||||||
gtk.enable = true;
|
|
||||||
package = pkgs.bibata-cursors;
|
|
||||||
name = "Bibata-Modern-Ice";
|
|
||||||
size = 20;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
appimage-run
|
|
||||||
# blueberry
|
|
||||||
bemoji
|
|
||||||
brave
|
|
||||||
# brightnessctl
|
|
||||||
# clipman
|
|
||||||
distrobox
|
|
||||||
eigent
|
|
||||||
(element-desktop.override {
|
|
||||||
commandLineArgs = "--password-store=gnome-libsecret";
|
|
||||||
})
|
|
||||||
launch-webapp
|
|
||||||
# eww
|
|
||||||
# firefox-devedition
|
|
||||||
file-roller
|
|
||||||
hyprpanel
|
|
||||||
seahorse
|
|
||||||
sushi
|
|
||||||
# glib
|
|
||||||
# google-chrome
|
|
||||||
# gsettings-desktop-schemas
|
|
||||||
# graphviz
|
|
||||||
ksnip
|
|
||||||
msty-studio
|
|
||||||
nwg-look
|
|
||||||
# opencode-desktop
|
|
||||||
# pamixer
|
|
||||||
# pavucontrol
|
|
||||||
# libsForQt5.qtstyleplugins
|
|
||||||
# stable.nyxt
|
|
||||||
# pcmanfm
|
|
||||||
rose-pine-hyprcursor
|
|
||||||
# qt5ct
|
|
||||||
# qt6.qtwayland
|
|
||||||
#rustdesk
|
|
||||||
# socat
|
|
||||||
# unrar
|
|
||||||
# unzip
|
|
||||||
# usbutils
|
|
||||||
# v4l-utils
|
|
||||||
remmina
|
|
||||||
slack
|
|
||||||
telegram-desktop
|
|
||||||
vivaldi
|
|
||||||
vivaldi-ffmpeg-codecs
|
|
||||||
vibetyper
|
|
||||||
# wl-clipboard
|
|
||||||
# wlogout
|
|
||||||
# wtype
|
|
||||||
# xdg-utils
|
|
||||||
# ydotool
|
|
||||||
# zip
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.fonts;
|
|
||||||
in {
|
|
||||||
options.features.desktop.fonts.enable =
|
|
||||||
mkEnableOption "install additional fonts for desktop apps";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
fira-code
|
|
||||||
fira-code-symbols
|
|
||||||
nerd-fonts.fira-code
|
|
||||||
nerd-fonts.jetbrains-mono
|
|
||||||
font-manager
|
|
||||||
font-awesome_5
|
|
||||||
noto-fonts
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.gaming;
|
|
||||||
in {
|
|
||||||
options.features.desktop.gaming.enable =
|
|
||||||
mkEnableOption "install gaming related stuff";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
gamescope
|
|
||||||
gamemode
|
|
||||||
goverlay
|
|
||||||
mangohud
|
|
||||||
protonplus
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,323 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.hyprland;
|
|
||||||
in {
|
|
||||||
options.features.desktop.hyprland.enable =
|
|
||||||
mkEnableOption "Hyprland related stuff";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
settings = {
|
|
||||||
xwayland = {
|
|
||||||
force_zero_scaling = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
exec-once = [
|
|
||||||
"hyprpanel"
|
|
||||||
"while ! hyprpaper-random; do sleep 0.5; done"
|
|
||||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
|
||||||
"wl-paste --type image --watch cliphist store" # Stores only image data "wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
|
|
||||||
"vibetyper"
|
|
||||||
];
|
|
||||||
|
|
||||||
env = [
|
|
||||||
"XCURSOR_SIZE,32"
|
|
||||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
|
||||||
"WLR_NO_HARDWARE_CURSORS,1"
|
|
||||||
"GTK_THEME,Dracula"
|
|
||||||
"XDG_CURRENT_DESKTOP,Hyprland"
|
|
||||||
"XDG_SESSION_TYPE,wayland"
|
|
||||||
"XDG_SESSION_DESKTOP,Hyprland"
|
|
||||||
"XKB_DEFAULT_LAYOUT,de"
|
|
||||||
"NIXOS_OZONE_WL,1"
|
|
||||||
];
|
|
||||||
|
|
||||||
input = {
|
|
||||||
kb_layout = "de,us";
|
|
||||||
kb_variant = "";
|
|
||||||
kb_model = "";
|
|
||||||
kb_rules = "";
|
|
||||||
kb_options = "ctrl:nocaps";
|
|
||||||
follow_mouse = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
general = {
|
|
||||||
gaps_in = 5;
|
|
||||||
gaps_out = 5;
|
|
||||||
border_size = 1;
|
|
||||||
# Keeping the existing active border as requested
|
|
||||||
"col.active_border" = "rgba(9742b5ee) rgba(9742b5ee) 45deg";
|
|
||||||
"col.inactive_border" = "rgba(${config.colorScheme.palette.base03}aa)";
|
|
||||||
layout = "dwindle";
|
|
||||||
};
|
|
||||||
|
|
||||||
decoration = {
|
|
||||||
shadow = {
|
|
||||||
enabled = true;
|
|
||||||
range = 60;
|
|
||||||
render_power = 3;
|
|
||||||
color = "rgba(${config.colorScheme.palette.base00}66)";
|
|
||||||
offset = "1 2";
|
|
||||||
scale = 0.97;
|
|
||||||
};
|
|
||||||
rounding = 8;
|
|
||||||
blur = {
|
|
||||||
enabled = true;
|
|
||||||
size = 3;
|
|
||||||
passes = 3;
|
|
||||||
};
|
|
||||||
active_opacity = 0.9;
|
|
||||||
inactive_opacity = 0.5;
|
|
||||||
};
|
|
||||||
|
|
||||||
animations = {
|
|
||||||
enabled = true;
|
|
||||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
|
||||||
animation = [
|
|
||||||
"windows, 1, 7, myBezier"
|
|
||||||
"windowsOut, 1, 7, default, popin 80%"
|
|
||||||
"border, 1, 10, default"
|
|
||||||
"borderangle, 1, 8, default"
|
|
||||||
"fade, 1, 7, default"
|
|
||||||
"workspaces, 1, 6, default"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
dwindle = {
|
|
||||||
pseudotile = true;
|
|
||||||
preserve_split = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
master = {
|
|
||||||
new_status = "master";
|
|
||||||
};
|
|
||||||
|
|
||||||
device = [
|
|
||||||
{
|
|
||||||
name = "epic-mouse-v1";
|
|
||||||
sensitivity = -0.5;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "zsa-technology-labs-moonlander-mark-i";
|
|
||||||
kb_layout = "us";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "keychron-keychron-k7";
|
|
||||||
kb_layout = "us";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
windowrule = [
|
|
||||||
# Floating dialogs
|
|
||||||
"match:class file_progress, float on"
|
|
||||||
"match:class confirm, float on"
|
|
||||||
"match:class dialog, float on"
|
|
||||||
"match:class download, float on"
|
|
||||||
"match:class notification, float on"
|
|
||||||
"match:class error, float on"
|
|
||||||
"match:class splash, float on"
|
|
||||||
"match:class confirmreset, float on"
|
|
||||||
"match:title Open File, float on"
|
|
||||||
"match:title branchdialog, float on"
|
|
||||||
"match:class pavucontrol-qt, float on"
|
|
||||||
"match:class pavucontrol, float on"
|
|
||||||
"match:class class:^(espanso)$, float on"
|
|
||||||
# wlogout
|
|
||||||
"match:class wlogout, fullscreen on"
|
|
||||||
"match:title wlogout, float on"
|
|
||||||
"match:title wlogout, fullscreen on"
|
|
||||||
# mpv
|
|
||||||
"match:class mpv, float on"
|
|
||||||
"match:class mpv, idle_inhibit focus"
|
|
||||||
"match:class mpv, opacity 1.0 override"
|
|
||||||
# Media/Volume/PiP
|
|
||||||
"match:title ^(Media viewer)$, float on"
|
|
||||||
"match:title ^(Volume Control)$, float on"
|
|
||||||
"match:title ^(Picture-in-Picture)$, float on"
|
|
||||||
# Pomodoro timer
|
|
||||||
"match:title ^(floating-pomodoro)$, float on"
|
|
||||||
"match:title ^(floating-pomodoro)$, size 250 50"
|
|
||||||
"match:title ^(floating-pomodoro)$, move 12 (monitor_h-150)"
|
|
||||||
"match:title ^(floating-pomodoro)$, pin on"
|
|
||||||
# Streamlabs overlays
|
|
||||||
"match:initial_title .*streamlabs.com.*, float on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, pin on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, size 800 400"
|
|
||||||
"match:initial_title .*alert-box.*, move 100%-820 102"
|
|
||||||
"match:initial_title .*chat-box.*, move 100%-820 512"
|
|
||||||
"match:initial_title .*streamlabs.com.*, opacity 0.5 override"
|
|
||||||
"match:initial_title .*streamlabs.com.*, idle_inhibit focus"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_anim on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, decorate off"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_shadow on"
|
|
||||||
"match:initial_title .*streamlabs.com.*, no_blur on"
|
|
||||||
# Vibetyper recording indicator
|
|
||||||
"match:class ^vibe-typer$, match:title ^Recording Indicator$, no_blur on"
|
|
||||||
"border_color rgb(ffffff), match:xwayland 1"
|
|
||||||
];
|
|
||||||
"$mainMod" = "SUPER";
|
|
||||||
"$terminal" = "ghostty";
|
|
||||||
|
|
||||||
bind = [
|
|
||||||
"$mainMod, return, exec, $terminal nu -c zellij-ps"
|
|
||||||
# "$mainMod, t, exec, warp-terminal"
|
|
||||||
"$mainMod, t, exec, $terminal -e nu -c 'nitch; exec nu'"
|
|
||||||
"$mainMod SHIFT, t, exec, launch-timer"
|
|
||||||
"$mainMod, n, exec, $terminal -e nvim"
|
|
||||||
"$mainMod, z, exec, uwsm app -- zeditor"
|
|
||||||
"$mainMod, o, exec, hyprctl dispatch setprop activewindow opaque toggle"
|
|
||||||
"$mainMod, r, exec, hyprctl dispatch focuswindow \"initialtitle:.*alert-box.*\" && hyprctl dispatch moveactive exact 4300 102 && hyprctl dispatch focuswindow \"initialtitle:.*chat-box.*\" && hyprctl dispatch moveactive exact 4300 512"
|
|
||||||
"$mainMod, b, exec, uwsm app -- thunar"
|
|
||||||
"$mainMod SHIFT, B, exec, uwsm app -- vivaldi"
|
|
||||||
"$mainMod, Escape, exec, uwsm app -- wlogout -p layer-shell"
|
|
||||||
"$mainMod, Space, togglefloating"
|
|
||||||
"$mainMod, q, killactive"
|
|
||||||
"$mainMod, M, exit"
|
|
||||||
"$mainMod, F, fullscreen"
|
|
||||||
"$mainMod SHIFT, V, togglefloating"
|
|
||||||
"$mainMod, D, exec, uwsm app -- rofi -show drun -run-command \"uwsm app -- {cmd}\""
|
|
||||||
"$mainMod, V, exec, uwsm app -- cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
|
||||||
"$mainMod, C, exec, bash -c 'FILE=/tmp/screenshot_$(date +%s).png; grim -g \"$(slurp)\" \"$FILE\" && ksnip \"$FILE\"'"
|
|
||||||
"$mainMod SHIFT, S, exec, uwsm app -- rofi -show emoji"
|
|
||||||
"$mainMod, P, exec, uwsm app -- rofi-pass"
|
|
||||||
"$mainMod SHIFT, P, pseudo"
|
|
||||||
"$mainMod, R, exec, stt-ptt start"
|
|
||||||
"$mainMod, S, exec, stt-ptt start"
|
|
||||||
"$mainMod, J, togglesplit"
|
|
||||||
"$mainMod, h, movefocus, l"
|
|
||||||
"$mainMod, l, movefocus, r"
|
|
||||||
"$mainMod, k, movefocus, u"
|
|
||||||
"$mainMod, j, movefocus, d"
|
|
||||||
"$mainMod, 1, workspace, 1"
|
|
||||||
"$mainMod, 2, workspace, 2"
|
|
||||||
"$mainMod, 3, workspace, 3"
|
|
||||||
"$mainMod, 4, workspace, 4"
|
|
||||||
"$mainMod, 5, workspace, 5"
|
|
||||||
"$mainMod, 6, workspace, 6"
|
|
||||||
"$mainMod, 7, workspace, 7"
|
|
||||||
"$mainMod, 8, workspace, 8"
|
|
||||||
"$mainMod, 9, workspace, 9"
|
|
||||||
"$mainMod, 0, workspace, 10"
|
|
||||||
"$mainMod SHIFT, 1, movetoworkspace, 1"
|
|
||||||
"$mainMod SHIFT, 2, movetoworkspace, 2"
|
|
||||||
"$mainMod SHIFT, 3, movetoworkspace, 3"
|
|
||||||
"$mainMod SHIFT, 4, movetoworkspace, 4"
|
|
||||||
"$mainMod SHIFT, 5, movetoworkspace, 5"
|
|
||||||
"$mainMod SHIFT, 6, movetoworkspace, 6"
|
|
||||||
"$mainMod SHIFT, 7, movetoworkspace, 7"
|
|
||||||
"$mainMod SHIFT, 8, movetoworkspace, 8"
|
|
||||||
"$mainMod SHIFT, 9, movetoworkspace, 9"
|
|
||||||
"$mainMod SHIFT, 0, movetoworkspace, 10"
|
|
||||||
"$mainMod, mouse_down, workspace, e+1"
|
|
||||||
"$mainMod, mouse_up, workspace, e-1"
|
|
||||||
];
|
|
||||||
bindr = [
|
|
||||||
"$mainMod, R, exec, stt-ptt stop"
|
|
||||||
"$mainMod, S, exec, stt-ptt format-stop"
|
|
||||||
];
|
|
||||||
bindm = [
|
|
||||||
"$mainMod, mouse:272, movewindow"
|
|
||||||
"$mainMod, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.hypridle = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
before_sleep_cmd = "hyprlock";
|
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
|
||||||
inhibit_sleep = 3;
|
|
||||||
};
|
|
||||||
|
|
||||||
listener = [
|
|
||||||
{
|
|
||||||
timeout = 300; # 5 min
|
|
||||||
on-timeout = "hyprlock";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 420; # 5.5 min
|
|
||||||
on-timeout = "hyprctl dispatch dpms off";
|
|
||||||
on-resume = "hyprctl dispatch dpms on";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.hyprpaper.enable = true;
|
|
||||||
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
"$font" = "JetBrainsMono Nerd Font";
|
|
||||||
"$base" = "rgb(${config.colorScheme.palette.base00})";
|
|
||||||
"$text" = "rgb(${config.colorScheme.palette.base05})";
|
|
||||||
"$textAlpha" = "${config.colorScheme.palette.base05}";
|
|
||||||
"$accentAlpha" = "${config.colorScheme.palette.base0D}";
|
|
||||||
"$red" = "rgb(${config.colorScheme.palette.base08})";
|
|
||||||
"$yellow" = "rgb(${config.colorScheme.palette.base0A})";
|
|
||||||
|
|
||||||
general = {
|
|
||||||
hide_cursor = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
background = {
|
|
||||||
monitor = "";
|
|
||||||
path = "${config.home.homeDirectory}/.config/hypr/wallpapers/wallhaven-lmmo8r.jpg";
|
|
||||||
blur_passes = 0;
|
|
||||||
color = "rgb(${config.colorScheme.palette.base00})";
|
|
||||||
};
|
|
||||||
|
|
||||||
label = [
|
|
||||||
{
|
|
||||||
monitor = "";
|
|
||||||
text = "$TIME";
|
|
||||||
color = "$text";
|
|
||||||
font_size = 90;
|
|
||||||
font_family = "$font";
|
|
||||||
position = "30, 0";
|
|
||||||
halign = "left";
|
|
||||||
valign = "top";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
monitor = "";
|
|
||||||
text = ''cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"'';
|
|
||||||
color = "$text";
|
|
||||||
font_size = 25;
|
|
||||||
font_family = "$font";
|
|
||||||
position = "30, -150";
|
|
||||||
halign = "left";
|
|
||||||
valign = "top";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
input-field = [
|
|
||||||
{
|
|
||||||
monitor = "";
|
|
||||||
size = "300, 60";
|
|
||||||
outline_thickness = 4;
|
|
||||||
dots_size = 0.2;
|
|
||||||
dots_spacing = 0.2;
|
|
||||||
dots_center = true;
|
|
||||||
outer_color = "rgb(${config.colorScheme.palette.base0D})";
|
|
||||||
inner_color = "rgb(${config.colorScheme.palette.base00})";
|
|
||||||
font_color = "rgb(${config.colorScheme.palette.base05})";
|
|
||||||
fade_on_empty = false;
|
|
||||||
placeholder_text = ''<span foreground="##${config.colorScheme.palette.base05}"> Logged in as <span foreground="##${config.colorScheme.palette.base0D}">$USER</span></span>'';
|
|
||||||
hide_input = false;
|
|
||||||
check_color = "rgb(${config.colorScheme.palette.base0D})";
|
|
||||||
fail_color = "rgb(${config.colorScheme.palette.base08})";
|
|
||||||
fail_text = ''<i>$FAIL <b>($ATTEMPTS)</b></i>'';
|
|
||||||
capslock_color = "rgb(${config.colorScheme.palette.base0A})";
|
|
||||||
position = "0, -35";
|
|
||||||
halign = "center";
|
|
||||||
valign = "center";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.media;
|
|
||||||
in {
|
|
||||||
options.features.desktop.media.enable =
|
|
||||||
mkEnableOption "enable media features";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# handbrake
|
|
||||||
# kdePackages.kdenlive
|
|
||||||
# makemkv
|
|
||||||
# mediainfo
|
|
||||||
amf
|
|
||||||
ffmpeg_6-full
|
|
||||||
gimp
|
|
||||||
gst_all_1.gstreamer
|
|
||||||
gst_all_1.gst-vaapi
|
|
||||||
handbrake
|
|
||||||
inkscape
|
|
||||||
kdePackages.kdenlive
|
|
||||||
libation
|
|
||||||
#makemkv
|
|
||||||
pamixer
|
|
||||||
pavucontrol
|
|
||||||
qpwgraph
|
|
||||||
v4l-utils
|
|
||||||
plexamp
|
|
||||||
# uxplay
|
|
||||||
# vlc
|
|
||||||
webcord
|
|
||||||
# yt-dlp
|
|
||||||
unimatrix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
mpv = {
|
|
||||||
enable = true;
|
|
||||||
bindings = {
|
|
||||||
WHEEL_UP = "seek 10";
|
|
||||||
WHEEL_DOWN = "seek -10";
|
|
||||||
};
|
|
||||||
config = {
|
|
||||||
profile = "gpu-hq";
|
|
||||||
ytdl-format = "bestvideo+bestaudio";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.obsidian;
|
|
||||||
in {
|
|
||||||
options.features.desktop.obsidian.enable =
|
|
||||||
mkEnableOption "enable Obsidian knowledge base";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.obsidian.enable = true;
|
|
||||||
|
|
||||||
xdg.mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
associations.added = {
|
|
||||||
"text/markdown" = ["obsidian.desktop"];
|
|
||||||
};
|
|
||||||
defaultApplications = {
|
|
||||||
"text/markdown" = ["obsidian.desktop"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.office;
|
|
||||||
in {
|
|
||||||
options.features.desktop.office.enable =
|
|
||||||
mkEnableOption "install office and paperwork stuff";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
libreoffice-fresh
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,206 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.rofi;
|
|
||||||
in {
|
|
||||||
options.features.desktop.rofi.enable = mkEnableOption "enable rofi";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.rofi = with pkgs; {
|
|
||||||
enable = true;
|
|
||||||
package = rofi.override {
|
|
||||||
plugins = [
|
|
||||||
rofi-calc
|
|
||||||
rofi-emoji
|
|
||||||
stable.rofi-file-browser
|
|
||||||
];
|
|
||||||
};
|
|
||||||
pass = {
|
|
||||||
enable = true;
|
|
||||||
package = rofi-pass-wayland;
|
|
||||||
};
|
|
||||||
terminal = "${pkgs.ghostty}/bin/ghostty";
|
|
||||||
font = "Fira Code";
|
|
||||||
extraConfig = {
|
|
||||||
show-icons = true;
|
|
||||||
disable-history = false;
|
|
||||||
modi = "drun,calc,emoji,filebrowser";
|
|
||||||
kb-primary-paste = "Control+V,Shift+Insert";
|
|
||||||
kb-secondary-paste = "Control+v,Insert";
|
|
||||||
};
|
|
||||||
theme = let
|
|
||||||
inherit (config.colorScheme) palette;
|
|
||||||
in
|
|
||||||
builtins.toString (pkgs.writeText "rofi-universal-theme.rasi" ''
|
|
||||||
* {
|
|
||||||
/* Universal theme colors from nix-colors */
|
|
||||||
background: #${palette.base00};
|
|
||||||
surface: #${palette.base01};
|
|
||||||
overlay: #${palette.base02};
|
|
||||||
muted: #${palette.base03};
|
|
||||||
subtle: #${palette.base04};
|
|
||||||
text: #${palette.base05};
|
|
||||||
bright-text: #${palette.base06};
|
|
||||||
highlight: #${palette.base07};
|
|
||||||
accent1: #${palette.base08};
|
|
||||||
accent2: #${palette.base09};
|
|
||||||
accent3: #${palette.base0A};
|
|
||||||
accent4: #${palette.base0B};
|
|
||||||
accent5: #${palette.base0C};
|
|
||||||
accent6: #${palette.base0D};
|
|
||||||
accent7: #${palette.base0E};
|
|
||||||
accent8: #${palette.base0F};
|
|
||||||
|
|
||||||
/* Global properties */
|
|
||||||
background-color: @background;
|
|
||||||
text-color: @text;
|
|
||||||
font: "Fira Code 12";
|
|
||||||
border: 0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
background-color: @background;
|
|
||||||
border: 1px;
|
|
||||||
border-color: @accent7;
|
|
||||||
border-radius: 6px;
|
|
||||||
width: 40%;
|
|
||||||
padding: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ prompt, entry ];
|
|
||||||
spacing: 12px;
|
|
||||||
padding: 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: @surface;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
text-color: @accent7;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: @subtle;
|
|
||||||
text-color: @text;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor-color: @accent7;
|
|
||||||
}
|
|
||||||
|
|
||||||
message {
|
|
||||||
background-color: @surface;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 8px;
|
|
||||||
margin: 8px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox {
|
|
||||||
text-color: @text;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
background-color: transparent;
|
|
||||||
margin: 8px 0 0;
|
|
||||||
lines: 10;
|
|
||||||
columns: 1;
|
|
||||||
fixed-height: true;
|
|
||||||
scrollbar: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @text;
|
|
||||||
padding: 8px;
|
|
||||||
border-radius: 4px;
|
|
||||||
spacing: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @text;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected.normal {
|
|
||||||
background-color: @accent7;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @text;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
size: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
mode-switcher {
|
|
||||||
spacing: 0;
|
|
||||||
background-color: @surface;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin: 8px 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding: 8px 16px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @text;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button selected {
|
|
||||||
background-color: @accent7;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Scrollbar */
|
|
||||||
scrollbar {
|
|
||||||
width: 4px;
|
|
||||||
border: 0;
|
|
||||||
handle-color: @accent7;
|
|
||||||
handle-width: 4px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
'');
|
|
||||||
};
|
|
||||||
cli.rofi-project-opener = {
|
|
||||||
enable = true;
|
|
||||||
projectDirs = {
|
|
||||||
AI = {
|
|
||||||
path = "~/p/AI";
|
|
||||||
args = "";
|
|
||||||
};
|
|
||||||
CHAT = {
|
|
||||||
path = "~/p/CHAT";
|
|
||||||
args = "--agent chiron";
|
|
||||||
};
|
|
||||||
MISC = {
|
|
||||||
path = "~/p/MISC";
|
|
||||||
args = "--agent chiron-forge";
|
|
||||||
};
|
|
||||||
NIX = {
|
|
||||||
path = "~/p/NIX";
|
|
||||||
args = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
terminal = pkgs.ghostty;
|
|
||||||
terminalCommand = "opencode %a";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
qt = {
|
|
||||||
enable = true;
|
|
||||||
platformTheme.name = "gtk";
|
|
||||||
};
|
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
theme = {
|
|
||||||
name = "Dracula";
|
|
||||||
package = pkgs.dracula-theme;
|
|
||||||
};
|
|
||||||
iconTheme = {
|
|
||||||
name = "Dracula";
|
|
||||||
package = pkgs.dracula-icon-theme;
|
|
||||||
};
|
|
||||||
gtk4.theme = config.gtk.theme;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.wallpapers;
|
|
||||||
in {
|
|
||||||
options.features.desktop.wallpapers = mkEnableOption "Wallpapers for Hyprland";
|
|
||||||
|
|
||||||
config = mkIf cfg {
|
|
||||||
xdg.configFile."hypr/wallpapers" = {
|
|
||||||
source = ../../m3tam3re/wallpapers;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.wayland;
|
|
||||||
in {
|
|
||||||
options.features.desktop.wayland.enable = mkEnableOption "wayland extra tools and config";
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
grim
|
|
||||||
hyprcursor
|
|
||||||
hyprlock
|
|
||||||
hyprpaper
|
|
||||||
qt6.qtwayland
|
|
||||||
slurp
|
|
||||||
waypipe
|
|
||||||
wl-clipboard
|
|
||||||
wf-recorder
|
|
||||||
wl-mirror
|
|
||||||
wlogout
|
|
||||||
wtype
|
|
||||||
ydotool
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
icons = {
|
|
||||||
teams = pkgs.fetchurl {
|
|
||||||
url = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-teams.svg";
|
|
||||||
sha256 = "sha256-Pr9QS8nnXJq97r4/G3c6JXi34zxHl0ps9gcyI8cN/s8=";
|
|
||||||
};
|
|
||||||
outlook = pkgs.fetchurl {
|
|
||||||
url = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-outlook.svg";
|
|
||||||
sha256 = "sha256-3u8t5QNHFZvrAegxBiGicO4PjtMWhEaQSCv7MSSfLLc=";
|
|
||||||
};
|
|
||||||
opencode = pkgs.fetchurl {
|
|
||||||
url = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/opencode-dark.svg";
|
|
||||||
sha256 = "1lms4f8habamvdh2qqqz9psx4py9wx23mmlkkds44pvrbq3bkj3n";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
xdg.desktopEntries = {
|
|
||||||
teams = {
|
|
||||||
name = "Microsoft Teams";
|
|
||||||
exec = "launch-webapp https://teams.microsoft.com";
|
|
||||||
comment = "Open Microsoft Teams as a Desktop App";
|
|
||||||
categories = ["Application" "Network" "Chat"];
|
|
||||||
terminal = false;
|
|
||||||
icon = icons.teams;
|
|
||||||
};
|
|
||||||
outlook = {
|
|
||||||
name = "Microsoft Outlook";
|
|
||||||
exec = "launch-webapp https://outlook.office.com/mail/";
|
|
||||||
comment = "Open Microsoft Outlook as a Desktop App";
|
|
||||||
categories = ["Application" "Network"];
|
|
||||||
terminal = false;
|
|
||||||
icon = icons.outlook;
|
|
||||||
};
|
|
||||||
basecamp = {
|
|
||||||
name = "Basecamp";
|
|
||||||
exec = "launch-webapp https://3.basecamp.com/5996442/";
|
|
||||||
comment = "Open Basecamp as a Desktop App";
|
|
||||||
categories = ["Application" "Network"];
|
|
||||||
terminal = false;
|
|
||||||
icon = "/home/sascha.koenig/.local/share/icons/basecamp-logo.png";
|
|
||||||
};
|
|
||||||
opencode = {
|
|
||||||
name = "Opencode";
|
|
||||||
exec = "rofi-project-opener";
|
|
||||||
comment = "Open Opencode Terminal App";
|
|
||||||
categories = ["Application" "Development"];
|
|
||||||
terminal = false;
|
|
||||||
icon = icons.opencode;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,121 +0,0 @@
|
|||||||
# This is a default home.nix generated by the follwing hone-manager command
|
|
||||||
#
|
|
||||||
# home-manager init ./
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
|
||||||
# manage.
|
|
||||||
home.username = lib.mkDefault "your-name";
|
|
||||||
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
||||||
# introduces backwards incompatible changes.
|
|
||||||
#
|
|
||||||
# You should not change this value, even if you update Home Manager. If you do
|
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
|
||||||
# release notes.
|
|
||||||
home.stateVersion = "26.05"; # Updated to adopt HM 26.05 defaults.
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
|
||||||
# environment.
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
|
||||||
# # "Hello, world!" when run.
|
|
||||||
# pkgs.hello
|
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
|
||||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
|
||||||
# # fonts?
|
|
||||||
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
|
||||||
|
|
||||||
# # You can also create simple shell scripts directly inside your
|
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
|
||||||
# # environment:
|
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
|
||||||
# echo "Hello, ${config.home.username}!"
|
|
||||||
# '')
|
|
||||||
];
|
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
||||||
# plain files is through 'home.file'.
|
|
||||||
home.file = {
|
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
|
||||||
# # symlink to the Nix store copy.
|
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
|
||||||
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
|
||||||
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
|
||||||
# either
|
|
||||||
#
|
|
||||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# /etc/profiles/per-user/m3tam3re/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
home.sessionVariables = {
|
|
||||||
# EDITOR = "emacs";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
signing.format = null;
|
|
||||||
settings = {
|
|
||||||
user = {
|
|
||||||
name = "m3tm3re";
|
|
||||||
email = "p@m3ta.dev";
|
|
||||||
};
|
|
||||||
core.excludesfile = "~/.gitignore_global";
|
|
||||||
init.defaultBranch = "master";
|
|
||||||
alias = {
|
|
||||||
st = "status";
|
|
||||||
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# programs.zellij-ps = {
|
|
||||||
# enable = true;
|
|
||||||
# projectFolders = [
|
|
||||||
# "${config.home.homeDirectory}/p/c"
|
|
||||||
# "${config.home.homeDirectory}/p"
|
|
||||||
# "${config.home.homeDirectory}/.config"
|
|
||||||
# ];
|
|
||||||
# layout = ''
|
|
||||||
# layout {
|
|
||||||
# pane size=1 borderless=true {
|
|
||||||
# plugin location="zellij:tab-bar"
|
|
||||||
# }
|
|
||||||
# pane size="70%" command="nvim"
|
|
||||||
# pane split_direction="vertical" {
|
|
||||||
# pane
|
|
||||||
# pane command="unimatrix"
|
|
||||||
# }
|
|
||||||
# pane size=1 borderless=true {
|
|
||||||
# plugin location="zellij:status-bar"
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
}
|
|
||||||
@@ -1,262 +0,0 @@
|
|||||||
# This is a default home.nix generated by the follwing hone-manager command
|
|
||||||
#
|
|
||||||
# home-manager init ./
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
|
||||||
# manage.
|
|
||||||
home.username = lib.mkDefault "your-name";
|
|
||||||
home.homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
||||||
# introduces backwards incompatible changes.
|
|
||||||
#
|
|
||||||
# You should not change this value, even if you update Home Manager. If you do
|
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
|
||||||
# release notes.
|
|
||||||
home.stateVersion = "26.05"; # Updated to adopt HM 26.05 defaults.
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
|
||||||
# environment.
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
libgtop
|
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
|
||||||
# # "Hello, world!" when run.
|
|
||||||
# pkgs.hello
|
|
||||||
|
|
||||||
# # It is sometimes useful to fine-tune packages, for example, by applying
|
|
||||||
# # overrides. You can do that directly here, just don't forget the
|
|
||||||
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
|
||||||
# # fonts?
|
|
||||||
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
|
||||||
|
|
||||||
# # You can also create simple shell scripts directly inside your
|
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
|
||||||
# # environment:
|
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
|
||||||
# echo "Hello, ${config.home.username}!"
|
|
||||||
# '')
|
|
||||||
];
|
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
||||||
# plain files is through 'home.file'.
|
|
||||||
home.file = {
|
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
|
||||||
# # symlink to the Nix store copy.
|
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
|
||||||
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
|
||||||
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
|
||||||
# either
|
|
||||||
#
|
|
||||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# /etc/profiles/per-user/m3tam3re/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
home.sessionVariables = {
|
|
||||||
# EDITOR = "emacs";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
services.cliphist = {
|
|
||||||
enable = true;
|
|
||||||
allowImages = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
signing.format = null;
|
|
||||||
settings = {
|
|
||||||
user = {
|
|
||||||
name = "m3tm3re";
|
|
||||||
email = "p@m3ta.dev";
|
|
||||||
};
|
|
||||||
core.excludesfile = "~/.gitignore_global";
|
|
||||||
init.defaultBranch = "master";
|
|
||||||
alias = {
|
|
||||||
st = "status";
|
|
||||||
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.difftastic.enable = true;
|
|
||||||
|
|
||||||
programs.jujutsu = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
user = {
|
|
||||||
email = "m@m3tam3re.com";
|
|
||||||
name = "Sascha Koenig";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh = {
|
|
||||||
enable = true;
|
|
||||||
enableDefaultConfig = false;
|
|
||||||
matchBlocks = {
|
|
||||||
"AZ-CLD-1" = {
|
|
||||||
hostname = "152.53.186.119";
|
|
||||||
user = "sascha.koenig";
|
|
||||||
port = 2022;
|
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
|
||||||
};
|
|
||||||
"AZ-PRM-1" = {
|
|
||||||
hostname = "192.168.152.76";
|
|
||||||
user = "sascha.koenig";
|
|
||||||
port = 2022;
|
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
|
||||||
};
|
|
||||||
"github.com" = {
|
|
||||||
hostname = "github.com";
|
|
||||||
user = "m3tam3re";
|
|
||||||
port = 22;
|
|
||||||
identityFile = "~/.ssh/github";
|
|
||||||
};
|
|
||||||
"nikhil" = {
|
|
||||||
hostname = "91.99.176.80";
|
|
||||||
user = "nikhilmaddirala";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"code.m3ta.dev" = {
|
|
||||||
hostname = "code.m3ta.dev";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/gitea";
|
|
||||||
};
|
|
||||||
"git.az-gruppe.com" = {
|
|
||||||
hostname = "git.az-gruppe.com";
|
|
||||||
port = 2022;
|
|
||||||
user = "sascha.koenig";
|
|
||||||
identityFile = "~/.ssh/sascha.koenig";
|
|
||||||
};
|
|
||||||
"lkk-nix-1" = {
|
|
||||||
hostname = "89.58.10.189";
|
|
||||||
user = "lkk-admin";
|
|
||||||
identityFile = "~/.ssh/lkk-admin";
|
|
||||||
};
|
|
||||||
"m3-r1" = {
|
|
||||||
hostname = "202.61.226.110";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"lkk-prod-test" = {
|
|
||||||
hostname = "192.168.122.215";
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"lkk-prod-1" = {
|
|
||||||
hostname = "192.168.0.24";
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"lkk-prod-2" = {
|
|
||||||
hostname = "192.168.0.20";
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-deck" = {
|
|
||||||
hostname = "192.168.178.193";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-kratos-vm" = {
|
|
||||||
hostname = "192.168.122.43";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-helios" = {
|
|
||||||
hostname = "192.168.178.210";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-ares" = {
|
|
||||||
hostname = "192.168.1.30";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-atlas" = {
|
|
||||||
hostname = "152.53.85.162";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-hermes" = {
|
|
||||||
hostname = "204.168.229.93";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-zelda" = {
|
|
||||||
hostname = "95.217.189.186";
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-skynet" = {
|
|
||||||
hostname = "m3-skynet";
|
|
||||||
user = "admin";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"m3-prox-1" = {
|
|
||||||
hostname = "192.168.1.110";
|
|
||||||
user = "root";
|
|
||||||
identityFile = "~/.ssh/m3tam3re";
|
|
||||||
};
|
|
||||||
"shp-old" = {
|
|
||||||
hostname = "95.217.3.250";
|
|
||||||
port = 2222;
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/self-host-playbook";
|
|
||||||
};
|
|
||||||
"shp-1" = {
|
|
||||||
hostname = "95.217.189.186";
|
|
||||||
port = 2222;
|
|
||||||
user = "m3tam3re";
|
|
||||||
identityFile = "~/.ssh/self-host-playbook";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# programs.zellij-ps = {
|
|
||||||
# enable = true;
|
|
||||||
# projectFolders = [
|
|
||||||
# "${config.home.homeDirectory}/p/c"
|
|
||||||
# "${config.home.homeDirectory}/p"
|
|
||||||
# "${config.home.homeDirectory}/.config"
|
|
||||||
# ];
|
|
||||||
# layout = ''
|
|
||||||
# layout {
|
|
||||||
# pane size=1 borderless=true {
|
|
||||||
# plugin location="zellij:tab-bar"
|
|
||||||
# }
|
|
||||||
# pane size="70%" command="nvim"
|
|
||||||
# pane split_direction="vertical" {
|
|
||||||
# pane
|
|
||||||
# pane command="unimatrix"
|
|
||||||
# }
|
|
||||||
# pane size=1 borderless=true {
|
|
||||||
# plugin location="zellij:status-bar"
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
../features/cli
|
|
||||||
./home-server.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
fish.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = false;
|
|
||||||
starship.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; {
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
./home.nix
|
|
||||||
../features/cli
|
|
||||||
../features/coding
|
|
||||||
../features/desktop
|
|
||||||
];
|
|
||||||
|
|
||||||
config = mkMerge [
|
|
||||||
{
|
|
||||||
xdg = {
|
|
||||||
# TODO: better structure
|
|
||||||
enable = true;
|
|
||||||
configFile."mimeapps.list".force = true;
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
associations.added = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
defaultApplications = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"application/md" = ["dev.zed.Zed.desktop"];
|
|
||||||
"application/text" = ["dev.zed.Zed.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
fish.enable = true;
|
|
||||||
nushell.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = true;
|
|
||||||
starship.enable = true;
|
|
||||||
television.enable = true;
|
|
||||||
};
|
|
||||||
desktop = {
|
|
||||||
coding.enable = true;
|
|
||||||
crypto.enable = true;
|
|
||||||
gaming.enable = true;
|
|
||||||
hyprland.enable = true;
|
|
||||||
media.enable = true;
|
|
||||||
obsidian.enable = true;
|
|
||||||
office.enable = true;
|
|
||||||
rofi.enable = true;
|
|
||||||
fonts.enable = true;
|
|
||||||
wayland.enable = true;
|
|
||||||
wallpapers = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
(mkIf config.features.desktop.hyprland.enable {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
exec-once = ["tuxedo-backlight"];
|
|
||||||
monitor = [
|
|
||||||
"eDP-1,preferred,0x0,1.25"
|
|
||||||
"HDMI-A-1,1920x1080@120,2560x0,1"
|
|
||||||
];
|
|
||||||
workspace = [
|
|
||||||
"1, monitor:eDP-1, default:true"
|
|
||||||
"2, monitor:eDP-1"
|
|
||||||
"3, monitor:eDP-1"
|
|
||||||
"4, monitor:HDMI-A-1,"
|
|
||||||
"5, monitor:HDMI-A-1,border:false,rounding:false"
|
|
||||||
"6, monitor:HDMI-A-1"
|
|
||||||
];
|
|
||||||
windowrule = [
|
|
||||||
"match:class dev.zed.Zed, workspace 1"
|
|
||||||
"match:class Msty, workspace 1"
|
|
||||||
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
|
||||||
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^steam_app_\\d+$, fullscreen on"
|
|
||||||
"match:class ^steam_app_\\d+$, workspace 5"
|
|
||||||
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
../features/cli
|
|
||||||
../features/coding/opencode.nix
|
|
||||||
./home-server.nix
|
|
||||||
];
|
|
||||||
coding.editors.neovim.enable = true;
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
nushell.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = false;
|
|
||||||
starship.enable = true;
|
|
||||||
zellij.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,101 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; let
|
|
||||||
cfg = config.features.desktop.hyprland;
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
./home.nix
|
|
||||||
../features/cli
|
|
||||||
../features/coding
|
|
||||||
../features/desktop
|
|
||||||
#./services/librechat.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
options.features.desktop.hyprland.enable =
|
|
||||||
mkEnableOption "enable Hyprland";
|
|
||||||
|
|
||||||
config = mkMerge [
|
|
||||||
# Base configuration
|
|
||||||
{
|
|
||||||
xdg = {
|
|
||||||
# TODO: better structure
|
|
||||||
enable = true;
|
|
||||||
configFile."mimeapps.list".force = true;
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
associations.added = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
defaultApplications = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"application/md" = ["dev.zed.Zed.desktop"];
|
|
||||||
"application/text" = ["dev.zed.Zed.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
fish.enable = true;
|
|
||||||
nushell.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = true;
|
|
||||||
starship.enable = true;
|
|
||||||
};
|
|
||||||
desktop = {
|
|
||||||
coding.enable = true;
|
|
||||||
crypto.enable = false;
|
|
||||||
gaming.enable = false;
|
|
||||||
hyprland.enable = false;
|
|
||||||
media.enable = true;
|
|
||||||
office.enable = false;
|
|
||||||
rofi.enable = true;
|
|
||||||
fonts.enable = true;
|
|
||||||
wayland.enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
(mkIf cfg.enable {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
monitor = [
|
|
||||||
"eDP-1,preferred,0x0,1.25"
|
|
||||||
"HDMI-A-1,preferred,2560x0,1"
|
|
||||||
];
|
|
||||||
workspace = [
|
|
||||||
"1, monitor:eDP-1, default:true"
|
|
||||||
"2, monitor:eDP-1"
|
|
||||||
"3, monitor:eDP-1"
|
|
||||||
"4, monitor:HDMI-A-1"
|
|
||||||
"5, monitor:HDMI-A-1,border:false,rounding:false"
|
|
||||||
"6, monitor:HDMI-A-1"
|
|
||||||
];
|
|
||||||
windowrule = [
|
|
||||||
"match:class dev.zed.Zed, workspace 1"
|
|
||||||
"match:class Msty, workspace 1"
|
|
||||||
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
|
||||||
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^steam_app_\\d+$, fullscreen on"
|
|
||||||
"match:class ^steam_app_\\d+$, workspace 5"
|
|
||||||
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
../features/cli
|
|
||||||
./home-server.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
fish.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = false;
|
|
||||||
starship.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
../features/cli
|
|
||||||
./home-server.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
fish.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = false;
|
|
||||||
starship.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,96 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib; {
|
|
||||||
imports = [
|
|
||||||
../common
|
|
||||||
./home.nix
|
|
||||||
../features/cli
|
|
||||||
../features/coding
|
|
||||||
../features/desktop
|
|
||||||
];
|
|
||||||
|
|
||||||
config = mkMerge [
|
|
||||||
{
|
|
||||||
xdg = {
|
|
||||||
# TODO: better structure
|
|
||||||
enable = true;
|
|
||||||
configFile."mimeapps.list".force = true;
|
|
||||||
mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
associations.added = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
defaultApplications = {
|
|
||||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
|
||||||
"application/csv" = ["calc.desktop"];
|
|
||||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
|
||||||
"application/md" = ["dev.zed.Zed.desktop"];
|
|
||||||
"application/text" = ["dev.zed.Zed.desktop"];
|
|
||||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
|
||||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
features = {
|
|
||||||
cli = {
|
|
||||||
nushell.enable = true;
|
|
||||||
fzf.enable = true;
|
|
||||||
nitch.enable = true;
|
|
||||||
secrets.enable = true;
|
|
||||||
starship.enable = true;
|
|
||||||
television.enable = true;
|
|
||||||
};
|
|
||||||
desktop = {
|
|
||||||
crypto.enable = true;
|
|
||||||
coding.enable = true;
|
|
||||||
gaming.enable = true;
|
|
||||||
hyprland.enable = true;
|
|
||||||
media.enable = true;
|
|
||||||
obsidian.enable = true;
|
|
||||||
office.enable = true;
|
|
||||||
rofi.enable = true;
|
|
||||||
fonts.enable = true;
|
|
||||||
wayland.enable = true;
|
|
||||||
wallpapers = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
(mkIf config.features.desktop.hyprland.enable {
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
monitor = [
|
|
||||||
"DP-1,2560x1440@144,0x0,1"
|
|
||||||
"DP-2,2560x1440@144,2560x0,1"
|
|
||||||
];
|
|
||||||
workspace = [
|
|
||||||
"1, monitor:DP-1, default:true"
|
|
||||||
"2, monitor:DP-1"
|
|
||||||
"3, monitor:DP-1"
|
|
||||||
"4, monitor:DP-2"
|
|
||||||
"5, monitor:DP-2"
|
|
||||||
"6, monitor:DP-2"
|
|
||||||
"7, monitor:DP-2"
|
|
||||||
];
|
|
||||||
|
|
||||||
windowrule = [
|
|
||||||
"match:class dev.zed.Zed, workspace 1"
|
|
||||||
"match:class Msty, workspace 1"
|
|
||||||
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
|
||||||
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
|
||||||
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.3 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.4 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.7 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.5 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 MiB |
@@ -18,6 +18,7 @@
|
|||||||
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs outputs system;
|
inherit inputs outputs system;
|
||||||
|
|||||||
@@ -1,11 +1,214 @@
|
|||||||
|
# hosts/common/users/m3tam3re.nix — Central user definition with m3ta-home integration.
|
||||||
|
#
|
||||||
|
# This module:
|
||||||
|
# 1. Creates the m3tam3re NixOS user
|
||||||
|
# 2. Loads the m3ta-home profile system via mkHome
|
||||||
|
# 3. Sets per-host feature flags based on a host profile mapping
|
||||||
|
# 4. Imports per-host home.nix overrides (monitors, HW-specific config)
|
||||||
|
#
|
||||||
|
# To add a new host:
|
||||||
|
# 1. Add entry to hostProfiles below
|
||||||
|
# 2. Add feature flags in the hostFlags section
|
||||||
|
# 3. Create hosts/<hostname>/home.nix if the host needs overrides (monitors, etc.)
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
hostname = config.networking.hostName;
|
||||||
|
|
||||||
|
# ── Per-host profile mapping ──
|
||||||
|
# Determines which m3ta-home context and sets each host gets.
|
||||||
|
hostProfiles = {
|
||||||
|
# ── Desktop hosts ──
|
||||||
|
m3-ares = {
|
||||||
|
context = "desktop";
|
||||||
|
sets = ["coding" "gaming" "media"];
|
||||||
|
};
|
||||||
|
m3-kratos = {
|
||||||
|
context = "desktop";
|
||||||
|
sets = ["coding" "gaming" "media"];
|
||||||
|
};
|
||||||
|
m3-daedalus = {
|
||||||
|
context = "desktop";
|
||||||
|
sets = ["coding" "media"];
|
||||||
|
};
|
||||||
|
# ── Server hosts ──
|
||||||
|
m3-atlas = {
|
||||||
|
context = "server";
|
||||||
|
sets = [];
|
||||||
|
};
|
||||||
|
m3-helios = {
|
||||||
|
context = "server";
|
||||||
|
sets = [];
|
||||||
|
};
|
||||||
|
m3-hermes = {
|
||||||
|
context = "server";
|
||||||
|
sets = [];
|
||||||
|
};
|
||||||
|
m3-aether = {
|
||||||
|
context = "server";
|
||||||
|
sets = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
profile =
|
||||||
|
hostProfiles.${
|
||||||
|
hostname
|
||||||
|
} or {
|
||||||
|
context = "server";
|
||||||
|
sets = [];
|
||||||
|
};
|
||||||
|
m3ta-lib = inputs.m3ta-home.lib;
|
||||||
|
|
||||||
|
# Check if a per-host home.nix exists
|
||||||
|
hostHomeFile = ./../../${hostname}/home.nix;
|
||||||
|
hostHomeExists = builtins.pathExists hostHomeFile;
|
||||||
|
|
||||||
|
# ── Per-host feature flags ──
|
||||||
|
# These enable/disable specific m3ta-home modules per host.
|
||||||
|
hostFlags =
|
||||||
|
if hostname == "m3-ares" || hostname == "m3-kratos"
|
||||||
|
then {
|
||||||
|
# Full desktop workstation
|
||||||
|
base = {
|
||||||
|
shell = {
|
||||||
|
fish.enable = true;
|
||||||
|
nushell.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
};
|
||||||
|
cliTools = {
|
||||||
|
fzf.enable = true;
|
||||||
|
nitch.enable = true;
|
||||||
|
television.enable = true;
|
||||||
|
};
|
||||||
|
secrets.enable = true;
|
||||||
|
};
|
||||||
|
desktop = {
|
||||||
|
wm = {
|
||||||
|
hyprland.enable = true;
|
||||||
|
rofi.enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
|
apps = {
|
||||||
|
crypto.enable = true;
|
||||||
|
obsidian.enable = true;
|
||||||
|
office.enable = true;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
fonts.enable = true;
|
||||||
|
wallpapers.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
coding = {
|
||||||
|
editors = {
|
||||||
|
neovim.enable = true;
|
||||||
|
zed.enable = true;
|
||||||
|
};
|
||||||
|
lsp.enable = true;
|
||||||
|
packages.enable = true;
|
||||||
|
languages = {
|
||||||
|
python.enable = true;
|
||||||
|
javascript.enable = true;
|
||||||
|
rustToolchain.enable = true;
|
||||||
|
go.enable = true;
|
||||||
|
typescript.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
profiles.gaming = {
|
||||||
|
steam.enable = true;
|
||||||
|
gamescope.enable = true;
|
||||||
|
};
|
||||||
|
profiles.media = {
|
||||||
|
obs.enable = true;
|
||||||
|
ffmpeg.enable = true;
|
||||||
|
kdenlive.enable = true;
|
||||||
|
ytDlp.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else if hostname == "m3-daedalus"
|
||||||
|
then {
|
||||||
|
# Portable laptop — desktop without gaming, no Hyprland
|
||||||
|
base = {
|
||||||
|
shell = {
|
||||||
|
fish.enable = true;
|
||||||
|
nushell.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
};
|
||||||
|
cliTools = {
|
||||||
|
fzf.enable = true;
|
||||||
|
nitch.enable = true;
|
||||||
|
television.enable = true;
|
||||||
|
};
|
||||||
|
secrets.enable = true;
|
||||||
|
};
|
||||||
|
desktop = {
|
||||||
|
wm = {
|
||||||
|
hyprland.enable = false;
|
||||||
|
wayland.enable = false;
|
||||||
|
};
|
||||||
|
apps = {
|
||||||
|
crypto.enable = false;
|
||||||
|
obsidian.enable = true;
|
||||||
|
office.enable = false;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
fonts.enable = true;
|
||||||
|
wallpapers.enable = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
coding = {
|
||||||
|
editors = {
|
||||||
|
neovim.enable = true;
|
||||||
|
zed.enable = true;
|
||||||
|
};
|
||||||
|
lsp.enable = true;
|
||||||
|
packages.enable = true;
|
||||||
|
languages = {
|
||||||
|
python.enable = true;
|
||||||
|
javascript.enable = true;
|
||||||
|
rustToolchain.enable = true;
|
||||||
|
go.enable = true;
|
||||||
|
typescript.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
profiles.media = {
|
||||||
|
ytDlp.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else if hostname == "m3-atlas"
|
||||||
|
then {
|
||||||
|
# Primary server — coding capable
|
||||||
|
base = {
|
||||||
|
shell = {
|
||||||
|
nushell.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
};
|
||||||
|
cliTools = {
|
||||||
|
fzf.enable = true;
|
||||||
|
nitch.enable = true;
|
||||||
|
zellij.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
coding.editors.neovim.enable = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
# m3-helios, m3-hermes, m3-aether — minimal server
|
||||||
|
base = {
|
||||||
|
shell = {
|
||||||
|
fish.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
};
|
||||||
|
cliTools = {
|
||||||
|
fzf.enable = true;
|
||||||
|
nitch.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
# ── NixOS user definition ──
|
||||||
users.users.m3tam3re = {
|
users.users.m3tam3re = {
|
||||||
#initialHashedPassword = "$y$j9T$IoChbWGYRh.rKfmm0G86X0$bYgsWqDRkvX.EBzJTX.Z0RsTlwspADpvEF3QErNyCMC";
|
|
||||||
password = "12345";
|
password = "12345";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "m3tam3re";
|
description = "m3tam3re";
|
||||||
@@ -29,6 +232,25 @@
|
|||||||
];
|
];
|
||||||
packages = [inputs.home-manager.packages.${pkgs.stdenv.hostPlatform.system}.default];
|
packages = [inputs.home-manager.packages.${pkgs.stdenv.hostPlatform.system}.default];
|
||||||
};
|
};
|
||||||
home-manager.users.m3tam3re =
|
|
||||||
import ../../../home/m3tam3re/${config.networking.hostName}.nix;
|
# ── Home-Manager configuration via m3ta-home ──
|
||||||
|
home-manager.users.m3tam3re = {
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
# Load m3ta-home composition engine
|
||||||
|
(m3ta-lib.mkHome {
|
||||||
|
user = "m3tam3re";
|
||||||
|
identity = "private";
|
||||||
|
inherit (profile) context sets;
|
||||||
|
})
|
||||||
|
# Per-host feature flags
|
||||||
|
hostFlags
|
||||||
|
]
|
||||||
|
# Per-host home.nix (Hyprland monitors, XDG/MIME, HW-specific overrides)
|
||||||
|
++ (
|
||||||
|
if hostHomeExists
|
||||||
|
then [hostHomeFile]
|
||||||
|
else []
|
||||||
|
);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,21 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -0,0 +1,75 @@
|
|||||||
|
# hosts/m3-ares/home.nix — Host-specific home-manager overrides.
|
||||||
|
# TUXEDO laptop: eDP-1 + HDMI-A-1 external monitor.
|
||||||
|
# Everything else (shell, editors, gaming, media, theme, etc.) comes from
|
||||||
|
# m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
config = mkMerge [
|
||||||
|
# ── XDG / MIME defaults ──
|
||||||
|
{
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
configFile."mimeapps.list".force = true;
|
||||||
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.added = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"application/md" = ["dev.zed.Zed.desktop"];
|
||||||
|
"application/text" = ["dev.zed.Zed.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Hyprland monitor layout & host-specific rules ──
|
||||||
|
(mkIf config.desktop.wm.hyprland.enable {
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# Laptop internal + external HDMI
|
||||||
|
monitor = [
|
||||||
|
{ output = "eDP-1"; mode = "preferred"; position = "0x0"; scale = 1.25; }
|
||||||
|
{ output = "HDMI-A-1"; mode = "1920x1080@120"; position = "2560x0"; scale = 1; }
|
||||||
|
];
|
||||||
|
workspace_rule = [
|
||||||
|
{ workspace = 1; monitor = "eDP-1"; default = true; }
|
||||||
|
{ workspace = 2; monitor = "eDP-1"; }
|
||||||
|
{ workspace = 3; monitor = "eDP-1"; }
|
||||||
|
{ workspace = 4; monitor = "HDMI-A-1"; }
|
||||||
|
{ workspace = 5; monitor = "HDMI-A-1"; border = false; rounding = false; }
|
||||||
|
{ workspace = 6; monitor = "HDMI-A-1"; }
|
||||||
|
];
|
||||||
|
window_rule = [
|
||||||
|
{ match = { class = "dev.zed.Zed" }; workspace = "1"; }
|
||||||
|
{ match = { class = "Msty" }; workspace = "1"; }
|
||||||
|
{ match = { class = "^com.obsproject.Studio$" }; workspace = "2"; }
|
||||||
|
{ match = { class = "^(brave-browser)$" }; workspace = "4"; opacity = 1.0; }
|
||||||
|
{ match = { class = "^(vivaldi-stable)$" }; workspace = "4"; opacity = 1.0; }
|
||||||
|
{ match = { class = "^steam_app_\\d+$" }; fullscreen = true; workspace = "5"; idle_inhibit = "focus"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
extraConfig = mkAfter ''
|
||||||
|
-- Host startup: TUXEDO backlight
|
||||||
|
hl.on("hyprland.start", function()
|
||||||
|
hl.exec_cmd("tuxedo-backlight")
|
||||||
|
end)
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.postgresql_17;
|
package = pkgs.postgresql_17;
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
kestra-env = {file = ../../secrets/kestra-env.age;};
|
kestra-env = {file = ../../secrets/kestra-env.age;};
|
||||||
littlelink-m3tam3re = {file = ../../secrets/littlelink-m3tam3re.age;};
|
littlelink-m3tam3re = {file = ../../secrets/littlelink-m3tam3re.age;};
|
||||||
minio-root-cred = {file = ../../secrets/minio-root-cred.age;};
|
minio-root-cred = {file = ../../secrets/minio-root-cred.age;};
|
||||||
|
rustfs-access-key = {file = ../../secrets/rustfs-access-key.age;};
|
||||||
|
rustfs-secret-key = {file = ../../secrets/rustfs-secret-key.age;};
|
||||||
n8n-env = {file = ../../secrets/n8n-env.age;};
|
n8n-env = {file = ../../secrets/n8n-env.age;};
|
||||||
netbird-auth-secret = {
|
netbird-auth-secret = {
|
||||||
file = ../../secrets/netbird-auth-secret.age;
|
file = ../../secrets/netbird-auth-secret.age;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{ config, ... }: {
|
{config, ...}: {
|
||||||
virtualisation.oci-containers.containers."kestra" = {
|
virtualisation.oci-containers.containers."kestra" = {
|
||||||
image = "docker.io/kestra/kestra:latest";
|
image = "docker.io/kestra/kestra:latest";
|
||||||
environmentFiles = [ config.age.secrets.kestra-env.path ];
|
environmentFiles = [config.age.secrets.kestra-env.path];
|
||||||
cmd = [ "server" "standalone" "--config" "/etc/config/application.yaml"];
|
cmd = ["server" "standalone" "--config" "/etc/config/application.yaml"];
|
||||||
ports = [ "127.0.0.1:3018:8080" ];
|
ports = ["127.0.0.1:3018:8080"];
|
||||||
user = "root";
|
user = "root";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
@@ -11,8 +11,7 @@
|
|||||||
"kestra_data:/app/storage"
|
"kestra_data:/app/storage"
|
||||||
"/tmp/kestra-wd:/tmp/kestra-wd"
|
"/tmp/kestra-wd:/tmp/kestra-wd"
|
||||||
];
|
];
|
||||||
extraOptions =
|
extraOptions = ["--add-host=postgres:10.89.0.1" "--ip=10.89.0.18" "--network=web"];
|
||||||
[ "--add-host=postgres:10.89.0.1" "--ip=10.89.0.18" "--network=web" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
@@ -21,12 +20,11 @@
|
|||||||
|
|
||||||
# Traefik configuration specific to littlelink
|
# Traefik configuration specific to littlelink
|
||||||
services.traefik.dynamicConfigOptions.http = {
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
services.kestra.loadBalancer.servers =
|
services.kestra.loadBalancer.servers = [{url = "http://localhost:3018/";}];
|
||||||
[{ url = "http://localhost:3018/"; }];
|
|
||||||
|
|
||||||
routers.kestra = {
|
routers.kestra = {
|
||||||
rule = "Host(`k.m3ta.dev`)";
|
rule = "Host(`k.m3ta.dev`)";
|
||||||
tls = { certResolver = "godaddy"; };
|
tls = {certResolver = "godaddy";};
|
||||||
service = "kestra";
|
service = "kestra";
|
||||||
entrypoints = "websecure";
|
entrypoints = "websecure";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
./containers
|
./containers
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./gitea-actions-runner.nix
|
./gitea-actions-runner.nix
|
||||||
./minio.nix
|
./rustfs.nix
|
||||||
./mysql.nix
|
./mysql.nix
|
||||||
./netbird.nix
|
./netbird.nix
|
||||||
./n8n.nix
|
./n8n.nix
|
||||||
|
|||||||
@@ -1,191 +0,0 @@
|
|||||||
{config, ...}: let
|
|
||||||
# Default ElevenLabs voice: Bella (German-capable female)
|
|
||||||
elevenlabsVoiceId = "hpp4J3VqNfWAUOO0d1Us";
|
|
||||||
in {
|
|
||||||
services.hermes-agent = {
|
|
||||||
enable = true;
|
|
||||||
addToSystemPackages = true;
|
|
||||||
|
|
||||||
# Secrets via agenix
|
|
||||||
environmentFiles = [config.age.secrets."hermes-env".path];
|
|
||||||
|
|
||||||
# Non-secret environment variables
|
|
||||||
environment = {
|
|
||||||
#
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Container mode (podman) ──────────────────────────────────────────
|
|
||||||
container = {
|
|
||||||
enable = true;
|
|
||||||
backend = "podman";
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
# ── Model ──────────────────────────────────────────────────────────
|
|
||||||
model = {
|
|
||||||
default = "glm-5.1";
|
|
||||||
provider = "zai";
|
|
||||||
base_url = "https://api.z.ai/api/coding/paas/v4/";
|
|
||||||
};
|
|
||||||
|
|
||||||
credential_pool_strategies = {
|
|
||||||
zai = "fill_first";
|
|
||||||
};
|
|
||||||
|
|
||||||
toolsets = ["all"];
|
|
||||||
|
|
||||||
# ── Agent ──────────────────────────────────────────────────────────
|
|
||||||
agent = {
|
|
||||||
max_turns = 90;
|
|
||||||
gateway_timeout = 1800;
|
|
||||||
tool_use_enforcement = "auto";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Terminal ───────────────────────────────────────────────────────
|
|
||||||
terminal = {
|
|
||||||
backend = "local";
|
|
||||||
modal_mode = "auto";
|
|
||||||
cwd = ".";
|
|
||||||
timeout = 180;
|
|
||||||
persistent_shell = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Browser ────────────────────────────────────────────────────────
|
|
||||||
browser = {
|
|
||||||
inactivity_timeout = 120;
|
|
||||||
command_timeout = 30;
|
|
||||||
cloud_provider = "local";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Checkpoints / Compression ──────────────────────────────────────
|
|
||||||
checkpoints = {
|
|
||||||
enabled = true;
|
|
||||||
max_snapshots = 50;
|
|
||||||
};
|
|
||||||
|
|
||||||
file_read_max_chars = 100000;
|
|
||||||
|
|
||||||
compression = {
|
|
||||||
enabled = true;
|
|
||||||
threshold = 0.5;
|
|
||||||
target_ratio = 0.2;
|
|
||||||
protect_last_n = 20;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Display ────────────────────────────────────────────────────────
|
|
||||||
display = {
|
|
||||||
compact = false;
|
|
||||||
personality = "kawaii";
|
|
||||||
resume_display = "full";
|
|
||||||
busy_input_mode = "interrupt";
|
|
||||||
inline_diffs = true;
|
|
||||||
skin = "default";
|
|
||||||
tool_progress = "all";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── TTS / STT / Voice ──────────────────────────────────────────────
|
|
||||||
tts = {
|
|
||||||
provider = "elevenlabs";
|
|
||||||
elevenlabs = {
|
|
||||||
voice_id = elevenlabsVoiceId;
|
|
||||||
model_id = "eleven_multilingual_v2";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
stt = {
|
|
||||||
enabled = true;
|
|
||||||
provider = "local";
|
|
||||||
local = {model = "base";};
|
|
||||||
};
|
|
||||||
|
|
||||||
voice = {
|
|
||||||
record_key = "ctrl+b";
|
|
||||||
max_recording_seconds = 120;
|
|
||||||
silence_threshold = 200;
|
|
||||||
silence_duration = 3.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Memory ─────────────────────────────────────────────────────────
|
|
||||||
memory = {
|
|
||||||
memory_enabled = true;
|
|
||||||
user_profile_enabled = true;
|
|
||||||
memory_char_limit = 2200;
|
|
||||||
user_char_limit = 1375;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Delegation ─────────────────────────────────────────────────────
|
|
||||||
delegation = {
|
|
||||||
max_iterations = 50;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Discord ────────────────────────────────────────────────────────
|
|
||||||
discord = {
|
|
||||||
require_mention = true;
|
|
||||||
auto_thread = true;
|
|
||||||
reactions = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Approvals / Security ───────────────────────────────────────────
|
|
||||||
approvals = {
|
|
||||||
mode = "manual";
|
|
||||||
timeout = 60;
|
|
||||||
};
|
|
||||||
|
|
||||||
security = {
|
|
||||||
redact_secrets = true;
|
|
||||||
tirith_enabled = true;
|
|
||||||
tirith_fail_open = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Cron / Session ─────────────────────────────────────────────────
|
|
||||||
cron = {wrap_response = true;};
|
|
||||||
|
|
||||||
session_reset = {
|
|
||||||
mode = "both";
|
|
||||||
idle_minutes = 1440;
|
|
||||||
at_hour = 4;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Web ────────────────────────────────────────────────────────────
|
|
||||||
web = {backend = "exa";};
|
|
||||||
|
|
||||||
# ── Platform Toolsets ──────────────────────────────────────────────
|
|
||||||
platform_toolsets = {
|
|
||||||
cli = [
|
|
||||||
"browser"
|
|
||||||
"clarify"
|
|
||||||
"code_execution"
|
|
||||||
"cronjob"
|
|
||||||
"delegation"
|
|
||||||
"file"
|
|
||||||
"image_gen"
|
|
||||||
"memory"
|
|
||||||
"session_search"
|
|
||||||
"skills"
|
|
||||||
"terminal"
|
|
||||||
"todo"
|
|
||||||
"tts"
|
|
||||||
"vision"
|
|
||||||
"web"
|
|
||||||
];
|
|
||||||
telegram = [
|
|
||||||
"browser"
|
|
||||||
"clarify"
|
|
||||||
"code_execution"
|
|
||||||
"cronjob"
|
|
||||||
"delegation"
|
|
||||||
"file"
|
|
||||||
"image_gen"
|
|
||||||
"memory"
|
|
||||||
"session_search"
|
|
||||||
"skills"
|
|
||||||
"terminal"
|
|
||||||
"todo"
|
|
||||||
"tts"
|
|
||||||
"vision"
|
|
||||||
"web"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,14 +1,29 @@
|
|||||||
{config, ...}: {
|
{
|
||||||
services.minio = {
|
config,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.rustfs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
region = "eu-central-1";
|
package = inputs.rustfs.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
|
|
||||||
|
# Reuse existing MinIO data directory
|
||||||
|
volumes = "/var/storage/s3";
|
||||||
|
|
||||||
|
# Keep same ports as MinIO to avoid changing Traefik and client configs
|
||||||
|
address = ":3008";
|
||||||
|
consoleEnable = true;
|
||||||
consoleAddress = ":3007";
|
consoleAddress = ":3007";
|
||||||
listenAddress = ":3008";
|
|
||||||
browser = true;
|
# Credentials via agenix
|
||||||
rootCredentialsFile = config.age.secrets.minio-root-cred.path;
|
accessKeyFile = config.age.secrets.rustfs-access-key.path;
|
||||||
dataDir = ["/var/storage/s3"];
|
secretKeyFile = config.age.secrets.rustfs-secret-key.path;
|
||||||
|
|
||||||
|
logLevel = "info";
|
||||||
};
|
};
|
||||||
# Traefik configuration specific to minio
|
|
||||||
|
# Traefik configuration — same routes as before
|
||||||
services.traefik.dynamicConfigOptions.http = {
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
services.minio-console.loadBalancer.servers = [
|
services.minio-console.loadBalancer.servers = [
|
||||||
{
|
{
|
||||||
@@ -43,6 +43,12 @@
|
|||||||
dynamicConfigOptions = {
|
dynamicConfigOptions = {
|
||||||
http = {
|
http = {
|
||||||
services = {
|
services = {
|
||||||
|
# ── Hermes Dashboard (m3-hermes over Netbird) ────────────────
|
||||||
|
hermes-dashboard = {
|
||||||
|
loadBalancer.servers = [
|
||||||
|
{url = "http://100.81.231.152:9119";}
|
||||||
|
];
|
||||||
|
};
|
||||||
dummy = {
|
dummy = {
|
||||||
loadBalancer.servers = [
|
loadBalancer.servers = [
|
||||||
{url = "http://192.168.0.1";} # Diese URL wird nie verwendet
|
{url = "http://192.168.0.1";} # Diese URL wird nie verwendet
|
||||||
@@ -79,6 +85,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
routers = {
|
routers = {
|
||||||
|
# ── Hermes Dashboard — Netbird mesh only ─────────────────────
|
||||||
|
hermes-dashboard = {
|
||||||
|
rule = "Host(`dash.m3ta.dev`)";
|
||||||
|
service = "hermes-dashboard";
|
||||||
|
entrypoints = ["websecure"];
|
||||||
|
tls = {
|
||||||
|
certResolver = "godaddy";
|
||||||
|
};
|
||||||
|
};
|
||||||
api = {
|
api = {
|
||||||
rule = "Host(`r.m3tam3re.com`)";
|
rule = "Host(`r.m3tam3re.com`)";
|
||||||
service = "api@internal";
|
service = "api@internal";
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# hosts/m3-daedalus/home.nix — Host-specific home-manager overrides.
|
||||||
|
# Portable laptop: no Hyprland, no external monitors.
|
||||||
|
# Everything else (shell, editors, media, theme, etc.) comes from
|
||||||
|
# m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
config = {
|
||||||
|
# ── XDG / MIME defaults ──
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
configFile."mimeapps.list".force = true;
|
||||||
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.added = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"application/md" = ["dev.zed.Zed.desktop"];
|
||||||
|
"application/text" = ["dev.zed.Zed.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,17 +1,21 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
git
|
git
|
||||||
tea
|
tea
|
||||||
ghostty.terminfo
|
ghostty.terminfo
|
||||||
|
uv
|
||||||
];
|
];
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
|||||||
@@ -1,7 +1,13 @@
|
|||||||
# Do not modify this file! It was generated by 'nixos-generate-config'
|
# Do not modify this file! It was generated by 'nixos-generate-config'
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to configuration.nix instead.
|
# to configuration.nix instead.
|
||||||
{config, lib, pkgs, modulesPath, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
hermes-cloud-env = {
|
hermes-cloud-env = {
|
||||||
file = ../../secrets/hermes-cloud-env.age;
|
file = ../../secrets/hermes-cloud-env.age;
|
||||||
};
|
};
|
||||||
|
hermes-api-server-key = {
|
||||||
|
file = ../../secrets/hermes-api-server-key.age;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hermes-agent.nix
|
./hermes-agent.nix
|
||||||
|
./hermes-dashboard.nix
|
||||||
|
./netbird.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,39 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# Default ElevenLabs voice: Bella (German-capable female)
|
# Edge TTS: Seraphina — friendly, multilingual German female voice (free, no API key)
|
||||||
elevenlabsVoiceId = "hpp4J3VqNfWAUOO0d1Us";
|
edgeVoice = "de-DE-SeraphinaMultilingualNeural";
|
||||||
|
|
||||||
# Extra Python packages from the container's writable venv layer.
|
# Extra Python packages from the container's writable venv layer.
|
||||||
# matrix-nio is installed via pip in /home/hermes/.venv but the hermes
|
# matrix-nio is installed via pip in /home/hermes/.venv but the hermes
|
||||||
# process uses the read-only Nix store Python, so we inject the venv's
|
# process uses the read-only Nix store Python, so we inject the venv's
|
||||||
# site-packages via PYTHONPATH and provide libstdc++ for libolm (e2e).
|
# site-packages via PYTHONPATH and provide libstdc++ for libolm (e2e).
|
||||||
venvSitePackages = "/home/hermes/.venv/lib/python3.11/site-packages";
|
# NOTE: v0.13.0 upgraded to Python 3.12 — path updated accordingly.
|
||||||
|
venvSitePackages = "/home/hermes/.venv/lib/python3.12/site-packages";
|
||||||
gccLibPath = "${pkgs.stdenv.cc.cc.lib}/lib";
|
gccLibPath = "${pkgs.stdenv.cc.cc.lib}/lib";
|
||||||
|
|
||||||
|
# Build skills using agents flake lib for hermes user
|
||||||
|
hermesSkills = inputs.agents.lib.mkSkills {
|
||||||
|
inherit pkgs;
|
||||||
|
customSkills = "${inputs.agents}/skills";
|
||||||
|
externalSkills = [
|
||||||
|
{
|
||||||
|
src = inputs.skills-basecamp;
|
||||||
|
skillsDir = "skills";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
src = inputs.skills-anthropic;
|
||||||
|
skillsDir = "skills";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
src = inputs.skills-kestra;
|
||||||
|
skillsDir = "skills";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
@@ -27,34 +49,63 @@ in {
|
|||||||
user: m3ta-chiron
|
user: m3ta-chiron
|
||||||
default: true
|
default: true
|
||||||
''}"
|
''}"
|
||||||
"f /home/hermes/.gitconfig 0644 hermes hermes - ${pkgs.writeText "gitconfig" ''
|
|
||||||
[user]
|
|
||||||
name = m3ta-chiron
|
|
||||||
email = m3ta-chiron@agentmail.to
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
''}"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
systemd.services.copy-hermes-skills = {
|
||||||
|
description = "Copy agent skills to hermes home directory";
|
||||||
|
wantedBy = ["hermes-agent.service"];
|
||||||
|
before = ["hermes-agent.service"];
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
serviceConfig.RemainAfterExit = true;
|
||||||
|
script = ''
|
||||||
|
mkdir -p /var/lib/hermes/.agents
|
||||||
|
cp -rT ${hermesSkills} /var/lib/hermes/.agents/skills
|
||||||
|
chown -R hermes:hermes /var/lib/hermes/.agents
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
# Ensure 'uv' is in the hermes-agent service PATH so CronJobs and terminal
|
||||||
|
# sessions can use 'uv run' for PEP 723 scripts (e.g. garmin-daily.py).
|
||||||
|
systemd.services.hermes-agent.path = [pkgs.uv];
|
||||||
|
|
||||||
services.hermes-agent = {
|
services.hermes-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
addToSystemPackages = true;
|
addToSystemPackages = true;
|
||||||
|
|
||||||
extraPackages = with pkgs; [docker git tea];
|
extraPackages = with pkgs; [
|
||||||
|
docker
|
||||||
|
git
|
||||||
|
tea
|
||||||
|
nix
|
||||||
|
zellij
|
||||||
|
];
|
||||||
|
|
||||||
# Secrets via agenix
|
# Secrets via agenix
|
||||||
environmentFiles = [
|
environmentFiles = [
|
||||||
config.age.secrets."hermes-env".path
|
config.age.secrets."hermes-env".path
|
||||||
config.age.secrets."hermes-cloud-env".path
|
config.age.secrets."hermes-cloud-env".path
|
||||||
|
config.age.secrets."hermes-api-server-key".path
|
||||||
];
|
];
|
||||||
|
|
||||||
# Non-secret environment variables
|
# Non-secret environment variables
|
||||||
|
# Git identity is set entirely via env vars (GIT_AUTHOR_*, GIT_COMMITTER_*,
|
||||||
|
# GIT_INIT_DEFAULT_BRANCH) — no .gitconfig file needed. Env vars take
|
||||||
|
# precedence over any gitconfig, and the hermes gateway injects them into
|
||||||
|
# all terminal sessions via .env.
|
||||||
environment = {
|
environment = {
|
||||||
GLM_BASE_URL = "https://api.z.ai/api/coding/paas/v4/";
|
GLM_BASE_URL = "https://api.z.ai/api/coding/paas/v4/";
|
||||||
GIT_AUTHOR_NAME = "m3ta-chiron";
|
GIT_AUTHOR_NAME = "m3ta-chiron";
|
||||||
GIT_AUTHOR_EMAIL = "m3ta-chiron@agentmail.to";
|
GIT_AUTHOR_EMAIL = "m3ta-chiron@agentmail.to";
|
||||||
GIT_COMMITTER_NAME = "m3ta-chiron";
|
GIT_COMMITTER_NAME = "m3ta-chiron";
|
||||||
GIT_COMMITTER_EMAIL = "m3ta-chiron@agentmail.to";
|
GIT_COMMITTER_EMAIL = "m3ta-chiron@agentmail.to";
|
||||||
|
GIT_INIT_DEFAULT_BRANCH = "master";
|
||||||
|
|
||||||
|
# ── API Server (OpenAI-compatible, for Hermes Desktop App) ─────────
|
||||||
|
# Accessible via Netbird mesh VPN — not exposed to the public internet.
|
||||||
|
# Bind to 0.0.0.0 so the Netbird interface can reach it.
|
||||||
|
API_SERVER_ENABLED = "true";
|
||||||
|
API_SERVER_HOST = "0.0.0.0";
|
||||||
|
API_SERVER_PORT = "8642";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Container mode (podman) ──────────────────────────────────────────
|
# ── Container mode (podman) ──────────────────────────────────────────
|
||||||
@@ -90,6 +141,14 @@ in {
|
|||||||
tool_use_enforcement = "auto";
|
tool_use_enforcement = "auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# ── Skills ─────────────────────────────────────────────────────────
|
||||||
|
|
||||||
|
skills = {
|
||||||
|
external_dirs = [
|
||||||
|
"/var/lib/hermes/.agents/skills"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# ── Terminal ───────────────────────────────────────────────────────
|
# ── Terminal ───────────────────────────────────────────────────────
|
||||||
terminal = {
|
terminal = {
|
||||||
backend = "local";
|
backend = "local";
|
||||||
@@ -106,7 +165,8 @@ in {
|
|||||||
cloud_provider = "local";
|
cloud_provider = "local";
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Checkpoints / Compression ──────────────────────────────────────
|
# ── Checkpoints v2 ─────────────────────────────────────────────────
|
||||||
|
# v0.13.0: Single-store rewrite with real pruning + disk guardrails.
|
||||||
checkpoints = {
|
checkpoints = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
max_snapshots = 50;
|
max_snapshots = 50;
|
||||||
@@ -134,10 +194,9 @@ in {
|
|||||||
|
|
||||||
# ── TTS / STT / Voice ──────────────────────────────────────────────
|
# ── TTS / STT / Voice ──────────────────────────────────────────────
|
||||||
tts = {
|
tts = {
|
||||||
provider = "elevenlabs";
|
provider = "edge";
|
||||||
elevenlabs = {
|
edge = {
|
||||||
voice_id = elevenlabsVoiceId;
|
voice = edgeVoice;
|
||||||
model_id = "eleven_multilingual_v2";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -163,9 +222,20 @@ in {
|
|||||||
user_char_limit = 1375;
|
user_char_limit = 1375;
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Delegation ─────────────────────────────────────────────────────
|
# ── Delegation / Orchestrator ────────────────────────────────────────
|
||||||
delegation = {
|
delegation = {
|
||||||
max_iterations = 50;
|
max_iterations = 50;
|
||||||
|
orchestrator_enabled = true;
|
||||||
|
max_spawn_depth = 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
# ── Kanban (v0.13.0 — Multi-Agent Board) ──────────────────────────
|
||||||
|
# Durable task board with embedded dispatcher in gateway process.
|
||||||
|
# Workers are full OS processes with identity, heartbeat, reclaim,
|
||||||
|
# zombie detection, and hallucination gate.
|
||||||
|
kanban = {
|
||||||
|
dispatch_in_gateway = true;
|
||||||
|
dispatch_interval_seconds = 60;
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Matrix ────────────────────────────────────────────────────────
|
# ── Matrix ────────────────────────────────────────────────────────
|
||||||
@@ -174,6 +244,9 @@ in {
|
|||||||
user_id = "@chiron:m3ta.dev";
|
user_id = "@chiron:m3ta.dev";
|
||||||
allowed_users = ["@m3tam3re:m3ta.dev"];
|
allowed_users = ["@m3tam3re:m3ta.dev"];
|
||||||
encryption = true;
|
encryption = true;
|
||||||
|
group_sessions_per_user = true;
|
||||||
|
auto_thread = true;
|
||||||
|
dm_mention_threads = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# ── Approvals / Security ───────────────────────────────────────────
|
# ── Approvals / Security ───────────────────────────────────────────
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
# Netbird mesh VPN range — dashboard only accessible from mesh peers.
|
||||||
|
# m3-atlas Traefik proxies to this port over Netbird.
|
||||||
|
netbirdRange = "100.64.0.0/16";
|
||||||
|
|
||||||
|
# Reference the hermes-agent package from the running service config
|
||||||
|
hermesPkg = config.services.hermes-agent.package or (inputs.hermes-agent.packages.${pkgs.stdenv.hostPlatform.system}.default or pkgs.hermes-agent);
|
||||||
|
in {
|
||||||
|
# ── Hermes Dashboard systemd service ───────────────────────────────────
|
||||||
|
# Web UI for managing Hermes Agent — sessions, config, kanban, cron, etc.
|
||||||
|
#
|
||||||
|
# Flow: Browser → dash.m3ta.dev (TLS via m3-atlas Traefik) → Netbird → :9119
|
||||||
|
#
|
||||||
|
# --insecure is required to bind 0.0.0.0 (hermes refuses non-localhost otherwise).
|
||||||
|
# Safe because firewall restricts port 9119 to Netbird mesh only.
|
||||||
|
systemd.services.hermes-dashboard = {
|
||||||
|
description = "Hermes Agent Web Dashboard";
|
||||||
|
after = ["network.target" "hermes-agent.service"];
|
||||||
|
wants = ["hermes-agent.service"];
|
||||||
|
wantedBy = ["multi-user.target"];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "simple";
|
||||||
|
User = "hermes";
|
||||||
|
Group = "hermes";
|
||||||
|
|
||||||
|
ExecStart = "${hermesPkg}/bin/hermes dashboard --host 0.0.0.0 --port 9119 --no-open --insecure";
|
||||||
|
|
||||||
|
# Environment matching the hermes-agent service
|
||||||
|
Environment = [
|
||||||
|
"HERMES_HOME=/var/lib/hermes/.hermes"
|
||||||
|
"HERMES_MANAGED=true"
|
||||||
|
"HOME=/var/lib/hermes"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Security hardening (matching hermes-agent service pattern)
|
||||||
|
NoNewPrivileges = true;
|
||||||
|
ProtectSystem = "strict";
|
||||||
|
ProtectHome = "read-only";
|
||||||
|
ReadWritePaths = ["/var/lib/hermes" "/tmp"];
|
||||||
|
PrivateTmp = true;
|
||||||
|
|
||||||
|
# Restart policy
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# ── Firewall: Dashboard only from Netbird mesh ─────────────────────────
|
||||||
|
networking.firewall = {
|
||||||
|
extraCommands = ''
|
||||||
|
# Allow Hermes Dashboard (9119/tcp) only from Netbird mesh VPN
|
||||||
|
ip46tables -A nixos-fw -p tcp --dport 9119 -s ${netbirdRange} -j nixos-fw-accept
|
||||||
|
'';
|
||||||
|
|
||||||
|
extraStopCommands = ''
|
||||||
|
ip46tables -D nixos-fw -p tcp --dport 9119 -s ${netbirdRange} -j nixos-fw-accept 2>/dev/null || true
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
services.netbird.enable = true;
|
||||||
|
|
||||||
|
systemd.services.netbird = {
|
||||||
|
environment = {
|
||||||
|
NB_DISABLE_SSH_CONFIG = "true";
|
||||||
|
NB_USE_LEGACY_ROUTING = "true";
|
||||||
|
};
|
||||||
|
path = [
|
||||||
|
pkgs.shadow
|
||||||
|
pkgs.util-linux
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.ssh.extraConfig = ''
|
||||||
|
Match exec "${pkgs.netbird}/bin/netbird ssh detect %h %p"
|
||||||
|
PreferredAuthentications password,publickey,keyboard-interactive
|
||||||
|
PasswordAuthentication yes
|
||||||
|
PubkeyAuthentication yes
|
||||||
|
BatchMode no
|
||||||
|
ProxyCommand ${pkgs.netbird}/bin/netbird ssh proxy %h %p
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
CheckHostIP no
|
||||||
|
LogLevel ERROR
|
||||||
|
'';
|
||||||
|
|
||||||
|
networking.firewall.checkReversePath = "loose";
|
||||||
|
}
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.supportedFilesystems = ["zfs"];
|
boot.supportedFilesystems = ["zfs"];
|
||||||
boot.zfs.package = pkgs.zfs_unstable;
|
boot.zfs.package = pkgs.zfs_unstable;
|
||||||
boot.zfs.forceImportAll = true;
|
boot.zfs.forceImportAll = false;
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.initrd.kernelModules = ["amdgpu"];
|
boot.initrd.kernelModules = ["amdgpu"];
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
# hosts/m3-kratos/home.nix — Host-specific home-manager overrides.
|
||||||
|
# AMD desktop: dual 2560x1440@144 via DisplayPort.
|
||||||
|
# Everything else (shell, editors, gaming, media, theme, etc.) comes from
|
||||||
|
# m3ta-home via the profile mapping in hosts/common/users/m3tam3re.nix.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
config = mkMerge [
|
||||||
|
# ── XDG / MIME defaults ──
|
||||||
|
{
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
configFile."mimeapps.list".force = true;
|
||||||
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.added = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
|
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||||
|
"application/csv" = ["calc.desktop"];
|
||||||
|
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||||
|
"application/md" = ["dev.zed.Zed.desktop"];
|
||||||
|
"application/text" = ["dev.zed.Zed.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
# ── Hyprland monitor layout & host-specific rules ──
|
||||||
|
(mkIf config.desktop.wm.hyprland.enable {
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# Dual monitor: DP-1 left, DP-2 right
|
||||||
|
monitor = [
|
||||||
|
{ output = "DP-1"; mode = "2560x1440@144"; position = "0x0"; scale = 1; }
|
||||||
|
{ output = "DP-2"; mode = "2560x1440@144"; position = "2560x0"; scale = 1; }
|
||||||
|
];
|
||||||
|
workspace_rule = [
|
||||||
|
{ workspace = 1; monitor = "DP-1"; default = true; }
|
||||||
|
{ workspace = 2; monitor = "DP-1"; }
|
||||||
|
{ workspace = 3; monitor = "DP-1"; }
|
||||||
|
{ workspace = 4; monitor = "DP-2"; }
|
||||||
|
{ workspace = 5; monitor = "DP-2"; }
|
||||||
|
{ workspace = 6; monitor = "DP-2"; }
|
||||||
|
{ workspace = 7; monitor = "DP-2"; }
|
||||||
|
];
|
||||||
|
window_rule = [
|
||||||
|
{ match = { class = "dev.zed.Zed" }; workspace = "1"; }
|
||||||
|
{ match = { class = "Msty" }; workspace = "1"; }
|
||||||
|
{ match = { class = "^com.obsproject.Studio$" }; workspace = "2"; }
|
||||||
|
{ match = { class = "^(brave-browser)$" }; workspace = "4"; opacity = 1.0; }
|
||||||
|
{ match = { class = "^(vivaldi-stable)$" }; workspace = "4"; opacity = 1.0; }
|
||||||
|
{ match = { class = "^steam_app_\\d+$" }; idle_inhibit = "focus"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./containers
|
./containers
|
||||||
./hermes-agent.nix
|
|
||||||
./mem0.nix
|
./mem0.nix
|
||||||
# ./n8n.nix
|
# ./n8n.nix
|
||||||
./netbird.nix
|
./netbird.nix
|
||||||
|
|||||||
@@ -1,184 +0,0 @@
|
|||||||
{config, ...}: let
|
|
||||||
# Default ElevenLabs voice: Bella (German-capable female)
|
|
||||||
elevenlabsVoiceId = "hpp4J3VqNfWAUOO0d1Us";
|
|
||||||
in {
|
|
||||||
services.hermes-agent = {
|
|
||||||
enable = true;
|
|
||||||
addToSystemPackages = true;
|
|
||||||
|
|
||||||
# Secrets via agenix
|
|
||||||
environmentFiles = [config.age.secrets."hermes-env".path];
|
|
||||||
|
|
||||||
# Non-secret environment variables
|
|
||||||
environment = {
|
|
||||||
GLM_BASE_URL = "https://api.z.ai/api/coding/paas/v4/";
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
# ── Model ──────────────────────────────────────────────────────────
|
|
||||||
model = {
|
|
||||||
default = "glm-5.1";
|
|
||||||
provider = "zai";
|
|
||||||
};
|
|
||||||
|
|
||||||
credential_pool_strategies = {
|
|
||||||
zai = "fill_first";
|
|
||||||
};
|
|
||||||
|
|
||||||
toolsets = ["all"];
|
|
||||||
|
|
||||||
# ── Agent ──────────────────────────────────────────────────────────
|
|
||||||
agent = {
|
|
||||||
max_turns = 90;
|
|
||||||
gateway_timeout = 1800;
|
|
||||||
tool_use_enforcement = "auto";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Terminal ───────────────────────────────────────────────────────
|
|
||||||
terminal = {
|
|
||||||
backend = "ssh";
|
|
||||||
modal_mode = "auto";
|
|
||||||
cwd = ".";
|
|
||||||
timeout = 180;
|
|
||||||
persistent_shell = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Browser ────────────────────────────────────────────────────────
|
|
||||||
browser = {
|
|
||||||
inactivity_timeout = 120;
|
|
||||||
command_timeout = 30;
|
|
||||||
cloud_provider = "local";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Checkpoints / Compression ──────────────────────────────────────
|
|
||||||
checkpoints = {
|
|
||||||
enabled = true;
|
|
||||||
max_snapshots = 50;
|
|
||||||
};
|
|
||||||
|
|
||||||
file_read_max_chars = 100000;
|
|
||||||
|
|
||||||
compression = {
|
|
||||||
enabled = true;
|
|
||||||
threshold = 0.5;
|
|
||||||
target_ratio = 0.2;
|
|
||||||
protect_last_n = 20;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Display ────────────────────────────────────────────────────────
|
|
||||||
display = {
|
|
||||||
compact = false;
|
|
||||||
personality = "kawaii";
|
|
||||||
resume_display = "full";
|
|
||||||
busy_input_mode = "interrupt";
|
|
||||||
inline_diffs = true;
|
|
||||||
skin = "default";
|
|
||||||
tool_progress = "all";
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── TTS / STT / Voice ──────────────────────────────────────────────
|
|
||||||
tts = {
|
|
||||||
provider = "elevenlabs";
|
|
||||||
elevenlabs = {
|
|
||||||
voice_id = elevenlabsVoiceId;
|
|
||||||
model_id = "eleven_multilingual_v2";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
stt = {
|
|
||||||
enabled = true;
|
|
||||||
provider = "local";
|
|
||||||
local = {model = "base";};
|
|
||||||
};
|
|
||||||
|
|
||||||
voice = {
|
|
||||||
record_key = "ctrl+b";
|
|
||||||
max_recording_seconds = 120;
|
|
||||||
silence_threshold = 200;
|
|
||||||
silence_duration = 3.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Memory ─────────────────────────────────────────────────────────
|
|
||||||
memory = {
|
|
||||||
memory_enabled = true;
|
|
||||||
user_profile_enabled = true;
|
|
||||||
memory_char_limit = 2200;
|
|
||||||
user_char_limit = 1375;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Delegation ─────────────────────────────────────────────────────
|
|
||||||
delegation = {
|
|
||||||
max_iterations = 50;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Discord ────────────────────────────────────────────────────────
|
|
||||||
discord = {
|
|
||||||
require_mention = true;
|
|
||||||
auto_thread = true;
|
|
||||||
reactions = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Approvals / Security ───────────────────────────────────────────
|
|
||||||
approvals = {
|
|
||||||
mode = "manual";
|
|
||||||
timeout = 60;
|
|
||||||
};
|
|
||||||
|
|
||||||
security = {
|
|
||||||
redact_secrets = true;
|
|
||||||
tirith_enabled = true;
|
|
||||||
tirith_fail_open = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Cron / Session ─────────────────────────────────────────────────
|
|
||||||
cron = {wrap_response = true;};
|
|
||||||
|
|
||||||
session_reset = {
|
|
||||||
mode = "both";
|
|
||||||
idle_minutes = 1440;
|
|
||||||
at_hour = 4;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ── Web ────────────────────────────────────────────────────────────
|
|
||||||
web = {backend = "exa";};
|
|
||||||
|
|
||||||
# ── Platform Toolsets ──────────────────────────────────────────────
|
|
||||||
platform_toolsets = {
|
|
||||||
cli = [
|
|
||||||
"browser"
|
|
||||||
"clarify"
|
|
||||||
"code_execution"
|
|
||||||
"cronjob"
|
|
||||||
"delegation"
|
|
||||||
"file"
|
|
||||||
"image_gen"
|
|
||||||
"memory"
|
|
||||||
"session_search"
|
|
||||||
"skills"
|
|
||||||
"terminal"
|
|
||||||
"todo"
|
|
||||||
"tts"
|
|
||||||
"vision"
|
|
||||||
"web"
|
|
||||||
];
|
|
||||||
telegram = [
|
|
||||||
"browser"
|
|
||||||
"clarify"
|
|
||||||
"code_execution"
|
|
||||||
"cronjob"
|
|
||||||
"delegation"
|
|
||||||
"file"
|
|
||||||
"image_gen"
|
|
||||||
"memory"
|
|
||||||
"session_search"
|
|
||||||
"skills"
|
|
||||||
"terminal"
|
|
||||||
"todo"
|
|
||||||
"tts"
|
|
||||||
"vision"
|
|
||||||
"web"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{"id":"home-profile-restructuring-edz","title":"Create copy-hermes-skills systemd service","status":"closed","priority":1,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":1,"created_at":"2026-04-26T12:30:10Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:44:42Z","started_at":"2026-04-26T12:36:30Z","closed_at":"2026-04-26T12:44:42Z","close_reason":"Created systemd service in hosts/m3-hermes/services/hermes-agent.nix - copies skills to /var/lib/hermes/.agents/skills before hermes-agent starts","labels":["hermes-agent","nixos"],"dependencies":[{"issue_id":"home-profile-restructuring-edz","depends_on_id":"home-profile-restructuring-ycz","type":"blocks","created_at":"2026-04-26T14:30:57Z","created_by":"m3tm3re","metadata":"{}"}],"dependency_count":1,"dependent_count":1,"comment_count":0}
|
||||||
|
{"id":"home-profile-restructuring-ycz","title":"Build hermes-agent skills using mkSkills","status":"closed","priority":1,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":2,"created_at":"2026-04-26T12:30:09Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:35:15Z","started_at":"2026-04-26T12:31:35Z","closed_at":"2026-04-26T12:35:15Z","close_reason":"Added inputs to module signature and defined hermesSkills via inputs.agents.lib.mkSkills with basecamp, anthropic, and kestra external skills. Verified with nixos-rebuild dry-run --flake .#m3-hermes (no errors).","labels":["hermes-agent","nixos"],"dependency_count":0,"dependent_count":1,"comment_count":0}
|
||||||
|
{"id":"home-profile-restructuring-cxa","title":"Verify skills available at /var/lib/hermes/.agents/skills","status":"closed","priority":2,"issue_type":"task","assignee":"m3tm3re","owner":"p@m3ta.dev","estimated_minutes":1,"created_at":"2026-04-26T12:30:10Z","created_by":"m3tm3re","updated_at":"2026-04-26T12:50:58Z","started_at":"2026-04-26T12:38:15Z","closed_at":"2026-04-26T12:50:58Z","close_reason":"Manually verified - skills are present at /var/lib/hermes/.agents/skills on m3-hermes","labels":["hermes-agent","testing"],"dependencies":[{"issue_id":"home-profile-restructuring-cxa","depends_on_id":"home-profile-restructuring-edz","type":"blocks","created_at":"2026-04-26T14:30:57Z","created_by":"m3tm3re","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
|
||||||
@@ -23,6 +23,8 @@ in {
|
|||||||
"secrets/kestra-config.age".publicKeys = systems ++ users;
|
"secrets/kestra-config.age".publicKeys = systems ++ users;
|
||||||
"secrets/kestra-env.age".publicKeys = systems ++ users;
|
"secrets/kestra-env.age".publicKeys = systems ++ users;
|
||||||
"secrets/minio-root-cred.age".publicKeys = systems ++ users;
|
"secrets/minio-root-cred.age".publicKeys = systems ++ users;
|
||||||
|
"secrets/rustfs-access-key.age".publicKeys = systems ++ users;
|
||||||
|
"secrets/rustfs-secret-key.age".publicKeys = systems ++ users;
|
||||||
"secrets/n8n-env.age".publicKeys = systems ++ users;
|
"secrets/n8n-env.age".publicKeys = systems ++ users;
|
||||||
"secrets/netbird-auth-secret.age".publicKeys = systems ++ users;
|
"secrets/netbird-auth-secret.age".publicKeys = systems ++ users;
|
||||||
"secrets/netbird-db-password.age".publicKeys = systems ++ users;
|
"secrets/netbird-db-password.age".publicKeys = systems ++ users;
|
||||||
@@ -50,6 +52,7 @@ in {
|
|||||||
"secrets/honcho-key.age".publicKeys = systems ++ users;
|
"secrets/honcho-key.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-env.age".publicKeys = systems ++ users;
|
"secrets/hermes-env.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-cloud-env.age".publicKeys = systems ++ users;
|
"secrets/hermes-cloud-env.age".publicKeys = systems ++ users;
|
||||||
|
"secrets/hermes-api-server-key.age".publicKeys = systems ++ users;
|
||||||
"secrets/hermes-gitea-token.age".publicKeys = systems ++ users;
|
"secrets/hermes-gitea-token.age".publicKeys = systems ++ users;
|
||||||
"secrets/tuwunel-registration-token.age".publicKeys = systems ++ users;
|
"secrets/tuwunel-registration-token.age".publicKeys = systems ++ users;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 4NLKrw 2TwbZwX9SwWg4SVC0A2ICmyRjSfO+xtfBcBOK1lh3T4
|
||||||
|
DSf4DrOAvW7L49lh6cq5IqrMM7gqXv2+67rR3ttn+CE
|
||||||
|
-> ssh-ed25519 5kwcsA K1hqFOAxq2T+oLp3bQjLYpXtlQVkA7RHCM/8ETMGbwU
|
||||||
|
xIE4xz50LB5vbDTTLKVcx9vC2iXIsRLThHYYxGjcJyY
|
||||||
|
-> ssh-ed25519 9d4YIQ bXYb62OM/N+EXpMOZZ6zEbpfaH10Vz62PuUdGODXolw
|
||||||
|
j64kKzOn8CmSnykEuWnXHZ0nfqwOfOxX4FPR4GSouR0
|
||||||
|
-> ssh-ed25519 3Bcr1w C4alN6ud7q0K4I7NHuBgC77D6zeTfZVGjNS3EKpvL00
|
||||||
|
NpjOsg3eJ5LvX0lV7NYuVHLeqeYylHdmw60H+KeG1GY
|
||||||
|
-> ssh-ed25519 c4NQlA In5wsg4+LTIEbP75B83GMXPCItSPGwKWUW8QO+QjXyY
|
||||||
|
oK1kikhr4RMq6QMv9kjNjiKrf5srlGh7hGbU2qns2rM
|
||||||
|
-> ssh-rsa DQlE7w
|
||||||
|
tcP4yPgGWqHYeE1gw/KD6cswik+9WU2s2f7hg5mK78085sQ7npXRsBVAz2OCRn07
|
||||||
|
foeAAmnY4YmKriBh421JOVNBDOXHR5dfaIKY9b663L+rYj99ic0rfW26C+dqKitF
|
||||||
|
SnvveL3Zf16nqg6duSVA7LIcIFgkIlA+RXnHPVho+P4GwEH7W8nCf/4kUquuhB7B
|
||||||
|
F4Hx1qOknmGyNBJBFi27D04ZDDk/ZVxioYsO6P6TUu7MuaGmQCoVKREDl5RRh4zO
|
||||||
|
XD8/TFDRsJLqqcbCKIlU+6CN1+L0r4FN4K0UaTjwPNzGvn5EEjBKw9RpOhdvI28I
|
||||||
|
WlAQ+w6gdQiz9Ju4e5p7Doz2MbNb6894DimawHjzl968Xy5ifX2XA+FBdcW5hU9A
|
||||||
|
u+7VXKZmbfMyvRA7lmKRoi4SurJAyQd6iXBrVKfTwFc53V/tJi48bsKcE3yXxHH+
|
||||||
|
lKGuZFNGDDkqCruycjvz94WaIHy3fv5hhmBdgwoCZK1VGSLAnwdm1rG4B9m3t/K8
|
||||||
|
|
||||||
|
-> ssh-ed25519 CSMyhg FNYYdEIJYcxkjMuM5lnIs9gIilvgD44uazZE8CjNeho
|
||||||
|
QHeghlsOOlYNMwhMHT4o7DeuyxGP/3wyqm94HUHjn44
|
||||||
|
--- zRG6aCTS+X18VpeN+tz38kaUoilk1kN5KrWTWYZ6pV4
|
||||||
|
ræX_qÔÁ’Ð껿H#p¯f™”}(žA(ã|»?ë0ªyJk¥SD‡\Jm&uõÃ&Ô9€ýÄ5Ù+çÊ…!v%Y˜ù~ãÁ$û“šZÇÓ°j„z–Â\ßá1,Vf˜
|
||||||
|
£’æ1zª»#Ó
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
|
|||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDROTEtydyBnRjhF
|
||||||
|
SHhTS2YrOHF1OWM1Zm04elkzVWpST0hhN0RhOWZBZGpBYmNTVnk4Cm9SMm5NcWdV
|
||||||
|
Rnh0TVpqTlFSaGtaMnBrSGorUEhDd1RibWs1VUt5RGtqaVEKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgNWt3Y3NBIFV5OWhMU204L25nR3ZLOWl1a1ppZkUvcTNJTDhlNmE3eXpJMjRL
|
||||||
|
NWdsWDQKNGhVYUhwRWRndjFYVEVIT3N2WE1WVncyV1Q1Q1BoNkhraVU5Q2s4UmtB
|
||||||
|
OAotPiBzc2gtZWQyNTUxOSA5ZDRZSVEgVkRwdGtHVTlTMUVMOFZrdUNHZHc5UWo3
|
||||||
|
WWtRaXJPY0p2QWZOUEtjWDVCYwpYQmh3ejdLOWdmM3dZbWJuRU1EYlRYZ2tJL3VY
|
||||||
|
OURUKzhRY2dtcVRQZnBnCi0+IHNzaC1lZDI1NTE5IDNCY3IxdyAyOFI4YllyWlox
|
||||||
|
V09BbERmRm4yd1Y5dlh0UGphK05DMGpsWXJQTmwrVlRVCjdqNE4yVHFKWFV3NXlr
|
||||||
|
bm40M1BpNGNNNDdJOXMyak5EUWdMa0hrb3lJY3cKLT4gc3NoLWVkMjU1MTkgYzRO
|
||||||
|
UWxBICsxb3poQit6VGRtWmZXUWUxMmRGWUN6RGVOeUxEZjdvZldTTE5XSFpDRVkK
|
||||||
|
bFNWLzFpazJLM0Q2R0NKU2FaS25ldEQ1RUZQM2RpektaT1NhRnJtS0JFcwotPiBz
|
||||||
|
c2gtcnNhIERRbEU3dwpFMVdKYnhiTWF4MCtJMFNHVGtOZGNBdlVDYWRRR252dVd6
|
||||||
|
NW1vNFRtbENLbHB2cHo1aE43M3RiZGh1QkVQVzBECjlvRnhYbjlpWWFFTEFFc1cw
|
||||||
|
NjFVSENsVWJHdWdGV3ZEY2tOcXkvUm9SSFE4VWw5eHVUSnV6SmxCRU9TNUdpRjMK
|
||||||
|
aGNhdHcvay85N0ZQNksydEhkcXNkc0h6dkRMRXlzUCtNNGM1V2tXb28wQ05valBH
|
||||||
|
TUdJa3V1bEdYRUZveFNwbwpIbWRnZmtQMDREd08rRkx3OERwRVZZNVlnSXlNNlFH
|
||||||
|
SkFoQWVEN1NzL0lqeVkvZllPdUkvbWZkU2NxNjQyYTIvCnJ4QmZ1SlpGNkp3UXFD
|
||||||
|
SUdFMFY5RWVadTd5QmM1U2tIZ3dLQ2ZZKzF0WTE3K09aN3FYWUVBYkErVlNpblNU
|
||||||
|
QzgKNENEZStFeitaYmE5Q1MyQ0lWSFlZb2hJdlBVNkhUUjBFWkxsWmZqdHNYb3Fk
|
||||||
|
VVJMMzg2V2xWdnNCNndGSWdpbAoyUHZ1WXR5UG04ZmZOdVluU2J6VUhKZ0xMZ0lS
|
||||||
|
R3YrY3RIRHJCby8yVWxIMWpGNWlJK1h4eXdRUXExT3pleWc3CnRmQVl1Yk1IUUFJ
|
||||||
|
blNoUGxVUUlVOG9FSE5CMDVidmZhSWJmWTFsY0lFcWpZU213cmcxNzFvb29XaklC
|
||||||
|
MnhpSkwKCi0+IHNzaC1lZDI1NTE5IENTTXloZyBOMDNYdGlvL3Y5QUp2YlNlUDZu
|
||||||
|
RXFyTkFWbFFsN1oweEErSS9Ccmh0WmwwClpzTWw1aXNqVXdaTVFrTTJ6Y0FWbVpR
|
||||||
|
TXk4cTNUUElkeGF1VUZ0U3RWcEEKLT4gTyUkcSZASGstZ3JlYXNlCnYwSGdsbE5h
|
||||||
|
d2JLOAotLS0gcjB3WU1rNDhBY1VxalpBNVJRSTJFZ0NhWEZlSW15UHphMnRHTjBj
|
||||||
|
aGptRQpiZ/2f41GnSHdg+EXeRwxHOHc/RNfEwlKhEB/Weq8tQ2Xf/jJ21WiWsTIm
|
||||||
|
g7Sq9EO6JyYMTJ/qlccpytfkU/qkouyR+z3prQcP7NWTcg==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDROTEtydyBQd3FZ
|
||||||
|
dUFYOFhoUGdBejZKYjRnVmNvYU85LzdJS1lVZFNRS3pTeS9hT0c4Cndwc3pHdStQ
|
||||||
|
N1QvU0NSbGJhNEJCOE83eThhSFBrbDJPU0tDbmhIM3lwcjQKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgNWt3Y3NBIHdaS3UvRUdFb3pITmZGdTNEaUtXdnlUMWFuNk5ZcFV0VVIwNllN
|
||||||
|
S2c5Rm8KV0x3Z2NjcUdLWmFEUExDT2EwbjFhQ2Y2TXNoaUc1d052RnJmM3VOSDVr
|
||||||
|
VQotPiBzc2gtZWQyNTUxOSA5ZDRZSVEgOG1URGlNekltV0YyQ2Y2NFdPL2tSWDlG
|
||||||
|
UnNLc2wrSllNWFd6aU9LWGN3YwpXUEthT3NNVHZJMUJndiswUVNFNWZjZnBDS3ZH
|
||||||
|
dXBJV1FSNEpPRGxQd0JrCi0+IHNzaC1lZDI1NTE5IDNCY3IxdyAvSTlFMitYZFVQ
|
||||||
|
ZER6ZDI5OEorTE5TRTdlcllPSmpkUjU5SkV2N0xQY1JBCmJPNFN5NEovdHBVVDRl
|
||||||
|
T0czS0g2dEgyTXhIMmtJVFRONDQ3enpLbFhJT3MKLT4gc3NoLWVkMjU1MTkgYzRO
|
||||||
|
UWxBIDBUV2RYajBTMkZ4WnV4ZUVCeHFZay9vRGR2dkcxaXBPOWxsZ05IZm1KVDAK
|
||||||
|
am56blp1ajlzc0NSYjY5NFdGNlNzQ0NNQzZPeVRtWTc1Z0lEYzc2TGNFMAotPiBz
|
||||||
|
c2gtcnNhIERRbEU3dwpOMGowMWFoRzhsTGp0U0RqeHUyckZvQU9EVkQxUXE1b0U0
|
||||||
|
N2hPU2NZY2huNm5kREg5SExCZGYzaTUwdWs4MjlsCjhONjVOWnZDZjFRU2k2K2Uz
|
||||||
|
dnVmWVd5MCt6bFk4UVU3UEdsWXZMOHlZMktzWWR4SFJ6Vzh4dDFpYWNYRVQ2UmsK
|
||||||
|
aW5iODV0WDYyQWN4K1ROZUVjdE40MGlxZDlXdnZVRVZBc04zdVRaOE9RTUJPUWxa
|
||||||
|
YnJjZEg3OGcxNHVEVkR0MgpGUWh6NHV4WTcxUEZwUU52QkdsOE5hZy9XWFpjQUFP
|
||||||
|
bDZzUjd3ZXFTTmpDN3ViZ0dpL3BOTFpBL3k2aUs3Qm9HCkVDeXZ2M0dQcWJwaXdm
|
||||||
|
N2E1R2pjcWY2V1dYaEFNMVc3MG9ndDRLd0tVdkxHSUxwL2REazE2Unc1Z3JjUHJh
|
||||||
|
NDgKamVqZjdkU0hCTVhqcjRsL1NtYkxxd3BId0lsRTRRUTNrZ05mcE1ZRkFSUlBW
|
||||||
|
VVdkd2VSNzJMQVJEM2QyVkMzSQoxRGVOOUtzdGVOMTBLVk8zN2xjT3lvYm0vSXpQ
|
||||||
|
VElTaS84SUxIekVybGYxV0ttZldVWHhyVVEvdzRFK3RibVFGCjV3bzltRjFTb0pu
|
||||||
|
bGJQaTJ1Mlgxd0hNN2VvS0p3eDd4WHNkaTkwV3MwWTdLWUxnNzJjLzBBZzZsck5h
|
||||||
|
Zk1UUDcKCi0+IHNzaC1lZDI1NTE5IENTTXloZyByQ1cwWm50UTY1bkp2NWZFeFVU
|
||||||
|
T0htZDFWUUFsdlBSOVVNY3RTZnNwdjE0CjBySlExb1dnTGJKZy9MT25Oa2hZdDJZ
|
||||||
|
Um9PZWlpOVA5bTBRM2wvVHJJaG8KLT4gWS1ncmVhc2UgWydtCnF4dzJjR2luMHBS
|
||||||
|
S2p3bUE2bVl2R2FaQ2hRK3greGMKLS0tIDhSdFFGaGlGRVV2VFZKcTNWYnNtbUQr
|
||||||
|
blprSjUyMjJwQkhBbVBCTmVhQ0kKUITtRYOYPDGGQlKrEp/JVUP8jTcptZxVaVcd
|
||||||
|
AmxviaG76EuXQeK/VgrGKoi+bZwHbpCbXBT2H8DBuSPgXdG3aQDQn2QgZylMnhmM
|
||||||
|
wzU=
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
Reference in New Issue
Block a user