mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-17 03:19:05 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
bd7c1d553b
This is a working example of using the modules in our existing configuration to start a network of virtual machines with nixos-build-vms. Note that VMs take longer to start up in this case than nixos-rebuild build-vm, and that said VMs may lack certain functionality (such as dynamic resolution in GNOME) that would otherwise be present with build-vm. Although networks are certainly cute (and I'm glad that I feel familiar with them thanks to my better understanding of Nix), they do seem less convenient than nixos-rebuild build-vm and don't appear to support Nix flakes. Networks therefore seem more useful for running multiple one-off services that couldn't otherwise be ran in a container. |
||
---|---|---|
assets | ||
containers | ||
home | ||
modules | ||
networks | ||
overlays | ||
packages | ||
patches | ||
specializations | ||
src | ||
tests | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
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.
- 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!