mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-01 03:29:24 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
ba489b173c
Instead of remembering which workspace an application is in, it's easier to simply go to the previous or next workspace until reaching the desired application. This has the advantage of less keybinds used and no longer having to reach across the keyboard when dealing with 6 or more workspaces. Workspace state can be handled by ironbar's launcher instead, which has the additional benefit of guaranteeing that you see all open applications. hyprland-relative-workspace is used here for a GNOME-like workspace experience. Hyprland's built-in m+1/m-1 would cycle the workspaces instead of opening an empty one, and the recently merged r+1/r-1 does not skip empty workspaces in-between other workspaces. |
||
---|---|---|
assets | ||
containers | ||
hardware | ||
home | ||
modules | ||
overlays | ||
patches | ||
specializations | ||
tests | ||
.gitignore | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
setup.nix | ||
treefmt.toml |
nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
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!