My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
2024-08-03 14:32:15 -04:00
.github ci: Add nixd / nixf-tidy 2024-08-03 12:31:32 -04:00
assets packages: Add rmpc 2024-07-27 17:47:30 -04:00
containers containers: Format with nixfmt-rfc-style 2024-08-03 14:32:15 -04:00
example example: Format with nixfmt-rfc-style 2024-08-03 14:31:14 -04:00
home home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
hosts phone: Limit dirty_ratio / dirty_background_ratio 2024-08-03 12:46:47 -04:00
lib meta(nix): Move test lib to separate directory 2024-04-09 08:02:31 -04:00
modules treewide(stylix): Use withHashtag where possible 2024-08-03 13:28:03 -04:00
overlays Revert "chore: Update to latest nixos-unstable release" 2024-08-01 13:45:44 -04:00
packages packages: Format with nixfmt-rfc-style 2024-08-03 13:54:56 -04:00
specializations meta: Migrate phosh settings to phone config 2024-07-18 17:10:53 -04:00
tests meta: Rename homeManagerModules attribute to homeModules 2024-07-18 19:43:11 -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 meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -04:00
flake.nix meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -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!