My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover e45b3b6af1
nix: Downgrade from nix 2.23.3 to 2.22.3
It turns out that nixVersions.latest is actually 2.23.3 now and this
version conveniently doesn't have the new homeModules attribute for
flake check backported yet, so we have to downgrade to 2.22.3 anyway.

See: 0a78a55d51
2024-07-18 19:39:03 -04:00
.github ci: Check all systems 2024-06-20 23:14:05 -04:00
assets stylix: Dynamically generate wallpaper from color scheme 2024-07-18 11:05:08 -04:00
containers nix(containers): Prefer inheriting from outputs 2024-07-12 12:28:10 -04:00
example example: Inherit all overlays by default 2024-06-02 14:50:50 -04:00
home ironbar: Drop tray for now 2024-07-18 13:33:05 -04:00
hosts phone: Only disable systemd-boot on aarch64 2024-07-18 17:50:19 -04:00
lib meta(nix): Move test lib to separate directory 2024-04-09 08:02:31 -04:00
modules nix: Downgrade from nix 2.23.3 to 2.22.3 2024-07-18 19:39:03 -04:00
overlays overlays(ironbar): Update to latest commit 2024-07-17 19:16:10 -04:00
packages chore: Clean up language specifiers 2024-07-18 11:00:34 -04:00
specializations meta: Migrate phosh settings to phone config 2024-07-18 17:10:53 -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 mobile-nixos: Update kernel from 6.9.0 to 6.9.7 2024-07-18 14:51:30 -04:00
flake.nix phone: Only disable systemd-boot on aarch64 2024-07-18 17:50:19 -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!