My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover c00ebbd691
meta: Prefer home-manager module over env for bat
This works now that stylix switched to using the configuration file
instead of the environment variable.
2024-08-24 12:24:43 -04:00
.github ci: Add check with nixf-tidy 2024-08-08 22:44:02 -04:00
assets stylix: Inline base16 scheme 2024-08-23 23:28:33 -04:00
containers treewide(nix): Remove duplicate attribute name usage 2024-08-10 20:55:46 -04:00
example example: Format with nixfmt-rfc-style 2024-08-03 14:31:14 -04:00
home meta: Prefer home-manager module over env for bat 2024-08-24 12:24:43 -04:00
hosts phone: Disable xwayland support 2024-08-24 12:15:47 -04:00
lib treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
modules meta: Prefer home-manager module over env for bat 2024-08-24 12:24:43 -04:00
overlays Revert "overlays: Update picom to v12-rc2 for animations" 2024-08-23 20:17:36 -04:00
packages phosh-backgrounds: Set version information 2024-08-17 15:23:40 -04:00
specializations dwm: Add bar height patch 2024-08-23 23:28:33 -04:00
tests chore: Format with nix fmt 2024-08-03 15:27:04 -04:00
.gitignore
cover.jpg
flake.lock flake: Update mmsd-tng from 1.12.1 to 2.6.1 2024-08-17 15:18:34 -04:00
flake.nix flake: Add rycee/firefox-addons 2024-08-15 23:36:09 -04:00
LICENSE
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!