- Nix 97.6%
- CSS 2%
- Just 0.4%
Add shell functions to manage SOPS keys via Bitwarden CLI. - sops-bw: Retrieves SSH keys and exports SOPS_AGE_KEY. - with-sops-key: Handles temporary key persistence for command execution. |
||
|---|---|---|
| configurations | ||
| modules | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| README.md | ||
| secrets.yaml | ||
FloRide's Dotnix ❄️
This repository contains my personal NixOS and Home Manager configurations, managed with Nix Flakes and built on top of nixos-unified.
It provides a scalable and modular way to manage multiple machines, from high-end workstations with GPU acceleration to headless servers and WSL environments.
🚀 What's Inside
- OS: NixOS (Stable 25.11 & Unstable for specific packages)
- Framework:
nixos-unifiedwithflake-partsfor clean autowiring - UI: Hyprland with a polished Catppuccin theme
- Editor: NixVim (Neovim configured via Nix)
- Shell: Fish with Tide and
any-nix-shell - Secrets: sops-nix for encrypted credentials
- Extras: Ollama (ROCm), Sunshine/Moonlight streaming, Syncthing, and Steam gaming.
🏗️ Architecture
This repository follows the nixos-unified directory structure, enabling autowiring of flake outputs.
| Directory | Description |
|---|---|
configurations/nixos/ |
Per-host NixOS system configurations (e.g., ares, nyx) |
configurations/home/ |
Per-user Home Manager configurations (e.g., floride) |
modules/nixos/ |
Reusable NixOS system modules (VPN, Games, GUI, etc.) |
modules/home/ |
Reusable Home Manager modules (Neovim, Shell, Theme) |
modules/flake/ |
Flake-level modules (Devshells, Toplevel glue) |
Current Hosts
- ares: Main workstation (AMD CPU/GPU, ROCm Ollama, Hyprland)
- nyx: Server/Node (Docker, Syncthing, VPN, Ollama)
- hephaistos: Laptop (Framework 13")
- erge: Work PC
- legion: Old PC (deprecated)
🛠️ Usage
I use just to manage common tasks. Run just to see all available commands.
Apply Configuration
To deploy the configuration for the current host (based on hostname):
nix run
Or for a specific host:
nix run .#ares
Maintenance
- Update all inputs:
just update(runsnix flake update) - Lint code:
just lint(runsnix fmt) - Dry-check flake:
just check
Clean Up
To free up disk space by deleting old generations:
sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +2
sudo nixos-rebuild boot
🔐 Secrets
Secrets are managed with sops. To edit the main secrets file:
sops secrets.yaml
🎨 Preview
Configurations include a fully themed Hyprland environment with Waybar, Rofi, and Alacritty/Kitty, all unified under the Catppuccin color scheme.
Generated with ❤️ by FloRide's NixOS Flake