My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
2024-07-05 17:41:14 -04:00
.github ci: Check all systems 2024-06-20 23:14:05 -04:00
assets nix: Avoid IFD by importing base16 scheme directly 2024-06-20 21:58:16 -04:00
containers nix: hardware.opengl.enable -> hardware.graphics.enable 2024-06-25 10:49:08 -04:00
example example: Inherit all overlays by default 2024-06-02 14:50:50 -04:00
home hyprland: Add mute script for microphone 2024-07-05 15:41:49 -04:00
hosts phone: Remove fcitx 2024-06-30 13:48:04 -04:00
lib meta(nix): Move test lib to separate directory 2024-04-09 08:02:31 -04:00
modules hardware: Remove unused sensor option 2024-07-05 17:41:14 -04:00
overlays ironbar: Overlay to newer version for Hyprland v0.40.0+ 2024-06-13 05:13:14 -04:00
packages nix: Remove usage of with lib; 2024-06-21 00:40:38 -04:00
specializations system: Always exclude gnome-tour 2024-06-23 09:46:56 -04:00
tests tests(neovim): Increase wait time 2024-05-20 13:42:48 -04:00
.gitignore Update .gitignore 2023-05-10 22:19:36 -04:00
cover.jpg docs: Add new cover image 2023-09-12 16:09:08 -04:00
flake.lock stylix: Update to latest commit 2024-07-05 15:39:12 -04:00
flake.nix stylix: Update to latest commit 2024-07-05 15:39:12 -04:00
LICENSE chore: Update LICENSE 2024-01-02 18:19:51 -05:00
README.md docs: Change link to new official NixOS wiki 2024-05-17 22:21:15 -04:00

nix-config

My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.

A screenshot of Pepper looking earnestly at declaratively configured Git abbreviations for the fish shell, written in Nix. Background art: The market, In Bloom and Vertical cover book two screen by David Revoy CC-BY 4.0.

A screenshot of a Rust programming environment with Neovim, kitty, and bacon. Background art: Video game jam by David Revoy CC-BY 4.0.

Features

  • Clean, readable code that can be easily modified to add/remove things as needed.
  • Fully reproducible and declarative environment thanks to NixOS.
  • Reasonably secure containers isolated from your personal files and network.
  • Nix Flakes + Home Manager + Btrfs on LUKS.
  • Simple yet effective Neovim setup with nvim-lspconfig.
  • Modern Wayland support with Hyprland and the master-stack layout.
  • Full Japanese support with fonts, input method, and wine covered.
  • Specializations for easy switching between Hyprland, GNOME, and Plasma.
  • A universal color scheme inherited by all applications.

Usage

git clone https://github.com/donovanglover/nix-config && cd nix-config
nixos-rebuild build-vm --flake .#nixos
./result/bin/run-nixos-vm

The code base is designed to be small so it's easy to adjust things as needed. Have fun!