mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-13 14:28:12 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Note that this broke wine on X and I haven't figured out why yet. Likely related to Wine 10 since the kernel supposedly wasn't the issue. ``` 0074:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0074:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." 0074:err:systray:initialize_systray Could not create tray window ``` Wine continues to work in Hyprland however inputs are now broken and some programs crash when they worked fine previously. |
||
---|---|---|
.github | ||
assets | ||
example | ||
home | ||
hosts/laptop | ||
modules | ||
overlays | ||
packages | ||
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.
microfetch by NotAShelf, Beautiful freedom by Ick - CC-BY-SA 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.
- Easily switch to a similar dwm config if X is necessary.
- Full Japanese support with fonts, input method, and wine covered.
- Working Mobile NixOS config with FriendlyFox and Phosh to run NixOS on your phone.
- 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!