Skip to content

derethil/nix-config

Repository files navigation

❄️
NixOS Config for Derethil

Nix Flakes Ready Built With Snowfall

My Nix configurations for NixOS, Nix Darwin, and Home Manager.

Usage

Clone this repository to your local machine

git clone https://github.com/derethil/nix-config.git ~/.config/nix-config
cd ~/.config/nix-config

TODO: Installation instructions with disko and nixos-anywhere

Development Templates

# Node.js environment
github:derethil/nix-config#npm

# Node.js + Go environment
github:derethil/nix-config#dragonarmy-npm-golang

# Uv-managed Python environment
github:derethil/nix-config#python

Features

Here's an overview of what my Nix configuration offers:

  • Next-Gen Wayland Compositors: Featuring Niri (scrollable tiling) and Hyprland, both optimized for NVIDIA and high-refresh displays with VRR support.

  • Custom Desktop Shells: Dank Material Shell support including various third-party plugins to improve productivity and add QOL features.

  • Gaming: Integrated CachyOS kernel optimization, Steam with Proton optimizations, lossless scaling technology, and comprehensive launcher and game (Heroic, PrismLauncher, GDLauncher, Sober).

  • Advanced Security and Impermanence: BTRFS impermanence with encrypted root rollback, SOPS secret management with age encryption, and LUKS full-disk encryption with secure boot.

  • Development: Provides my Neovim configuration through NVF via a custom flake as well as comprehensive DevEnv templates and a suite of CLI utilities and tool configurations.

  • Cross-Platform Window Management: AeroSpace tiling for macOS with unified keybindings across all platforms.

  • Privacy-Hardened Browsing: Firefox with custom CSS theming and vim bindings among other addons and privacy configurations including telemetry disabling.

System Architecture

Hosts

  • Athena (x86_64-linux): NixOS desktop with NVIDIA optimizations
  • Hestia (aarch64-darwin): Apple Silicon macOS development machine

Core Technologies

  • Snowfall Lib: Modular configuration management with automatic imports
  • Home Manager: Declarative user environment management
  • Nix Darwin: Declarative MacOS settings and program management
  • SOPS: Encrypted secrets with private repository integration
  • Cachix: Binary caching for faster rebuilds

About

System configurations for NixOS, Home Manager, and Nix-Darwin.

Topics

Resources

Stars

Watchers

Forks

Languages