Skip to content

sdelcore/nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS Configuration

🖥️ Hosts

Host Role CPU GPU Storage Features
dayman Laptop Intel NVIDIA NVMe (btrfs) TLP, Thunderbolt, Lid controls
nightman Desktop AMD NVIDIA NVMe + 4 drives Triple monitors, Virtualization

🚀 Features

System Architecture

  • NixOS 25.11 with Flakes
  • Disko for declarative disk partitioning
  • Home Manager for user environments

Desktop Environment

  • Hyprland (Wayland compositor) with extensive customization
  • Catppuccin Macchiato theme throughout
  • Waybar, Wofi, SwayNC for desktop utilities
  • Alternative: GNOME/KDE support available

Development Stack

  • Editors: Cursor, VS Code, Neovim (LazyVim), Claude Code
  • Languages: Python, Node.js, Go
  • Tools: Git, Direnv, FZF, Ripgrep, Bat
  • Containers: Docker, Libvirt/QEMU
  • Terminal: Zsh + Starship, Zellij/Tmux

Agent Tooling

  • Claude Code, opencode, pi managed via Home Manager modules
  • Shared skills under home/modules/agent-skills/skills/ symlink into ~/.claude/skills/ and ~/.agents/skills/ so all three agents see the same SKILL.md set
  • Pi extensions auto-discovered from home/modules/pi/extensions/; locally-dropped extensions in ~/.pi/agent/extensions/ survive activations

Security & Auth

  • 1Password integration
  • YubiKey support (PAM U2F)
  • SOPS for secret management (TBD)
  • WireGuard VPN (TBD)

🛠️ Usage

Quick Commands

just update          # Update flake inputs
just switch          # Apply configuration
just build hostname  # Build specific host
just deploy host ip  # Remote deployment

Initial Setup

  1. Clone repository
  2. Update hardware configuration for your system
  3. Run just switch hostname
  4. Change default password immediately: passwd

Maintenance

  • Updates: just update then just switch
  • Garbage collection: Runs automatically (daily, 3-day retention)
  • VM testing: just buildvm hostname

📁 Structure

.
├── flake.nix                # Entry point, defines hosts via mkSystem
├── nix/
│   ├── <host>.configuration.nix   # Per-host system config
│   ├── modules/             # System modules (common, desktop, hardware, software, virtualization)
│   ├── disks/               # Disko layouts
│   ├── hardware/            # Per-host hardware configs
│   ├── profiles/            # Reusable system profiles
│   └── users/               # User definitions
└── home/
    ├── <host>.nix           # Per-host Home Manager config
    ├── modules/             # Home Manager modules (shell, editors, desktop apps)
    │   ├── agent-skills/    # Shared SKILL.md set for Claude/opencode/pi
    │   ├── claude-code/     # Claude Code commands, plugins, settings
    │   ├── opencode/
    │   ├── pi/              # pi coding agent + auto-discovered extensions
    │   └── hyprland/
    ├── configs/             # Application dotfiles
    ├── scripts/
    └── wallpapers/

Buy Me A Coffee

About

My NixOS configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors