My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover 877341abe5
meta(containers): Move setup script to common.nix
This makes it easier to associate that the file is used by containers.
2023-08-31 13:48:02 -04:00
.github/workflows ci: Replace crystal with deno 2023-08-31 12:37:40 -04:00
assets eww: Inline config 2023-08-11 15:05:24 -04:00
containers meta(containers): Move setup script to common.nix 2023-08-31 13:48:02 -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 chore: Update packages 2023-08-31 12:39:37 -04:00
overlays hyprland: Add slidefade animation patch 2023-08-31 13:06:21 -04:00
packages feat: Add thumbnail support for webp files 2023-08-24 17:57:02 -04:00
patches hyprland: Add slidefade animation patch 2023-08-31 13:06:21 -04:00
specializations meta: Move DE-specific config to specializations 2023-07-10 21:12:48 -04:00
tests chore: Run deno fmt 2023-08-31 11:53:43 -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
treefmt.toml treefmt: Replace crystal with deno 2023-08-31 12:25:45 -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!