mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
e7d55a6790
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. |
||
---|---|---|
assets | ||
containers | ||
hardware | ||
home | ||
modules | ||
overlays | ||
patches | ||
specializations | ||
tests | ||
.gitignore | ||
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.
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!