My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
Donovan Glover cb6d57536b
specializations: Configure inside default.nix
This makes it possible to define specializations that are technically
modules without having them placed in the modules directory. This is
mainly useful to separate core Hyprland logic from desktop environment
logic.
2023-07-10 20:36:27 -04:00
.github/workflows meta: Add GitHub CI 2023-07-10 18:39:05 -04:00
assets meta: Replace go-thumbnailer with nixpkgs version 2023-06-20 09:55:34 -04:00
containers containers: Simplify 2023-07-07 05:26:52 -04:00
hardware meta: Import hardware 2023-06-22 10:16:38 -04:00
home neovim: Revert conditional fcitx import 2023-07-08 20:12:55 -04:00
modules chore: Update packages 2023-07-09 17:46:53 -04:00
overlays meta: Remove rofi 2023-07-06 22:54:40 -04:00
patches meta: Flatten overlays directory 2023-06-16 12:47:36 -04:00
specializations specializations: Configure inside default.nix 2023-07-10 20:36:27 -04:00
tests tests: Remove hint 2023-07-09 22:25:51 -04:00
.gitignore Update .gitignore 2023-05-10 22:19:36 -04:00
default.nix meta: Disable specializations by default 2023-06-22 17:31:10 -04:00
flake.lock chore: Update flake inputs 2023-07-09 14:44:05 -04:00
flake.nix meta: Remove nix-gaming 2023-06-22 09:53:29 -04:00
LICENSE Update LICENSE 2023-04-30 19:37:54 -04:00
README.md docs: Add specializations to readme 2023-06-22 17:16:34 -04:00
setup.nix meta: Remove gamemode 2023-07-01 22:44:06 -04:00
treefmt.toml treefmt: Exclude hardware directory 2023-06-22 08:00:13 -04:00

nix-config

My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.

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!