old
HPCesia's Nix Config
English | 简体中文
My Nix configuration for a NixOS laptop and a NixOS VPS.
Component List
| NixOS | |
|---|---|
| Desktop | KDE Plasma 6 |
| Terminal Emulator | WezTerm + Ghostty |
| Terminal Multiplexer | Zellij |
| Shell | Fish + Starship |
| Input Method | Fcitx5 + Rime (use rime-ice) |
| Color Theme | Catppuccin Macchiato |
| File Manager | Yazi + Dolphin |
| Development Environment | VSCode + Helix (with Zide) |
| Browser | Firefox + Chromium (for PWA) |
| Secret Management | sops-nix, see ./secrets |
| Media Playback | mpv (Video) + Quod Libet (Music) |
Deployment
[!WARNING] You should not deploy this configuration directly on your host, as it contains secrets that only I can decrypt and use.
This configuration includes some hardcoded absolute paths and should be placed in the home directory at
~/nix-config.
For Local NixOS
sudo nixos-rebuild switch --flake .#kevin
For Remote NixOS
colmena apply
Acknowledgments
- Nix Flakes
- ryan4yin/nix-config: The foundational architecture of this configuration originates from here.
- kamadorueda/machine: Resolves the issue with writing to VSCode’s
settings.json. - xddxdd/nixos-config: Resolves the compatibility issue between Audacious and Fcitx5.
- Dotfiles
- yyhhyyyyyy/selfproxy: Referenced configurations for mihomo.