mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-14 14:58:14 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
After trying the new picom animations for a bit they're a bit too janky compared to the animations in Hyprland. The "geometry" trigger replicated the tiling animation when swapping windows, however this came at the cost of transparency being broken during the animation and the easing in general not being comparable to Hyprland. Further issues include the usage of animations breaking fade in/out support for windows, which I found less intrusive than the appear / disappear presets with not-so-subtle easing. Using the geometry trigger also meant that switching tags in dwm had a slide in effect, which felt disruptive compared to the usual feeling of dwm. Other issues included the increased probability of things not being drawn correctly (for example, an animation that "hangs" while in the middle of animating) and a slightly annoying fade effect every time windows changed in size such as when toggling fullscreen. The config used is below for reference, however after trying picom animations dwm feels considerably better without them. ``` animations = ( { triggers = ["open"]; preset = "appear"; scale = 0.5; }, { triggers = ["close"]; preset = "disappear"; scale = 0.5; }, { triggers = ["geometry"]; preset = "geometry-change"; duration = 0.5; }, ); ``` |
||
---|---|---|
.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!