forked from extern/nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
a28b33a2d9
Similar to the previous commit, I'm trying to reduce build times here. Containers are great but each one increases the build time by a non-trivial amount. By limiting the amount of containers and using virtual machines for things that "absolutely need to be virtualized", build times overall should be more productive. |
||
---|---|---|
.github/workflows | ||
assets | ||
containers | ||
hardware | ||
home | ||
modules | ||
overlays | ||
packages | ||
patches | ||
specializations | ||
tests | ||
.gitignore | ||
cover.png | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
setup.nix | ||
treefmt.toml |
nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
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!