mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 02:03:21 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
f59b724b77
From a pragmatic perspective this never made sense since it would be unlikely that we'd ever want to import multiple hardware configurations at the same time. An alternative solution would be to let users generate their own hardware-configuration.nix that they can use with this nix-config, or simply have them create their own nix-config that imports this flake and uses the outputs they want. |
||
---|---|---|
.github | ||
assets | ||
containers | ||
hardware | ||
home | ||
modules | ||
overlays | ||
packages | ||
patches | ||
specializations | ||
tests | ||
.gitignore | ||
cover.jpg | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
treefmt.toml |
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!