mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 09:47:57 +02:00
- QT_AUTO_SCREEN_SCALE_FACTOR is no longer used in Qt6+ https://doc.qt.io/qt-6/highdpi.html - QT_QPA_PLATFORM is no longer necessary since it seems like NixOS will start Qt applications that support Wayland with it by default https://wiki.archlinux.org/title/Anki#Wayland - QT_WAYLAND_DISABLE_WINDOWDECORATION seems to no longer be necessary since this should be handled by the window manager https://www.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12
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!
Languages
Nix
100%