mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
Note that specializations increase the build time and therefore shouldn't be used unless you're actually using those specializations. For example, a normal Hyprland build of 30 seconds becomes 1 minute and 30 seconds with the GNOME and Plasma specializations enabled. As an alternative, you can use multiple nixosConfigurations and only build GNOME and/or Plsama on demand, then run those desktop environments as virtual machines inside of Hyprland, which lets you use both (or even all three) at the same time.
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!
Languages
Nix
100%