mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
31de8f1085
I added specializations over a year ago when I was still new to NixOS and trying out some of the many different features unique to it. These days I don't need much more than a terminal and a web browser, and I haven't used GNOME or Plasma in over a year at this point. Nowadays everything I need from a computer I can accomplish with the terminal. Nixpkgs trained me to dig deep into source code to figure out how to do things, and using a PinePhone significantly improved my awareness of how Linux interacts with hardware and how to configure it. One of the biggest motivators for dropping these environments is that I can't keep up with the changes that are made to GNOME and Plasma. Hyprland has served my needs well and feels more stable since there isn't a user interface that's constantly changing. |
||
---|---|---|
.github | ||
assets | ||
containers | ||
example | ||
home | ||
hosts | ||
lib | ||
modules | ||
overlays | ||
packages | ||
specializations | ||
tests | ||
.gitignore | ||
cover.jpg | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Background art: The market, In Bloom and Vertical cover book two screen by David Revoy − CC-BY 4.0.
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!