My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
2023-08-31 11:50:27 -04:00
.github/workflows ci(tests): Remove nixos-rebuild 2023-07-18 12:33:56 -04:00
assets eww: Inline config 2023-08-11 15:05:24 -04:00
containers meta: Merge srb2 container with wine 2023-08-31 10:20:18 -04:00
hardware meta: Import hardware 2023-06-22 10:16:38 -04:00
home hyprland: Revert gaps_out workaround 2023-08-31 00:53:10 -04:00
modules feat: Replace hyprland-relative-workspace with hyprnome 2023-08-30 16:14:50 -04:00
overlays overlays: Patch hyprland window sizes 2023-08-31 00:45:04 -04:00
packages feat: Add thumbnail support for webp files 2023-08-24 17:57:02 -04:00
patches overlays: Patch hyprland window sizes 2023-08-31 00:45:04 -04:00
specializations meta: Move DE-specific config to specializations 2023-07-10 21:12:48 -04:00
tests tests: Abstract logic into separate file 2023-08-31 11:50:27 -04:00
.gitignore Update .gitignore 2023-05-10 22:19:36 -04:00
cover.png docs: Add cover image 2023-08-08 14:18:41 -04:00
default.nix meta: Import packages directory 2023-08-07 08:42:50 -04:00
flake.lock meta: Remove custom crystal build 2023-08-30 15:56:54 -04:00
flake.nix flake.nix: Add sakaya to inputs 2023-08-08 14:13:25 -04:00
LICENSE Update LICENSE 2023-04-30 19:37:54 -04:00
README.md docs: Add cover image 2023-08-08 14:18:41 -04:00
setup.nix containers: Add fcitx support 2023-07-10 21:56:25 -04:00
treefmt.toml treefmt: Exclude hardware directory 2023-06-22 08:00:13 -04:00

nix-config

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

A typical screenshot of what my nix-config looks like. Background: "Video game jam" by David Revoy, licensed under Creative Commons Attribution 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!