My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover 0b0deb55b7
tests: Remove desktop import
Fixes an issue where NixOS tests weren't exactly treated as
containers, presumably since they run inside QEMU.

The previous dependency on stylix is no longer necessary since
base16-nvim was upstreamed, although it may be ideal to split
it into its own module at a later date.
2024-09-01 15:12:51 -04:00
.github ci: Add check with nixf-tidy 2024-08-08 22:44:02 -04:00
assets overlays(rofi): Prefer fetchpatch where possible 2024-09-01 14:20:51 -04:00
containers meta: Replace desktop.container with config.boot.isContainer 2024-09-01 14:33:04 -04:00
example chore: Expand single item lists and attribute sets 2024-08-27 13:05:29 -04:00
home chore: Improve formatting 2024-09-01 14:12:17 -04:00
hosts phone: Don't save .dng files 2024-09-01 14:19:16 -04:00
modules meta: Replace desktop.container with config.boot.isContainer 2024-09-01 14:33:04 -04:00
overlays overlays(rofi): Prefer fetchpatch where possible 2024-09-01 14:20:51 -04:00
packages Revert "librewolf: Remove unnecessary ublock-origin package" 2024-08-31 07:31:45 -04:00
tests tests: Remove desktop import 2024-09-01 15:12:51 -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 chore: Update stylix to fix fish styling 2024-08-30 13:35:18 -04:00
flake.nix meta: Replace firefox-addons with packages in flake 2024-08-30 13:34:00 -04:00
LICENSE chore: Update LICENSE 2024-01-02 18:19:51 -05:00
README.md docs: Drop mention of specializations 2024-08-27 00:05:34 -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.
  • Easily switch to a similar dwm config if X is necessary.
  • Full Japanese support with fonts, input method, and wine covered.
  • 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!