mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 09:13:09 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
aaef3ecf8b
This was cool but there were a few issues such as me not being able to find the infamous "dock patch" despite grepping for dock on https://dwm.suckless.org/patches/, which resulted in the keyboard hiding tiled windows and being below floating windows. There was also an issue where starting corekeyboard from dwm would result in styling not being applied compared to starting it from the terminal. A third issue was that from a quick attempt I couldn't get callaudiod to start inside dwm, which was required for gnome-calls. Overall it looks like I will be using Phosh until further notice on the PinePhone, as I've already gotten it to work well enough for my use case. |
||
---|---|---|
.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.
- Easily switch to a similar dwm config if X is necessary.
- Full Japanese support with fonts, input method, and wine covered.
- 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!