mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 10:13:25 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
168134bcf3
This fixes an issue where virtual machines would previously use dummy output. More specifically, pulseaudio is used since pipewire supports it, and intel hd audio (hda) is used since it's generally regarded as one of the better options based on information available online. Note that -audio is used instead of the outdated -audiodev and -soundhw options. This setup also avoids the choppy audio observed with other solutions like alsa. References: - https://www.qemu.org/docs/master/system/qemu-manpage.html - https://github.com/NixOS/nixpkgs/issues/175378 - https://superuser.com/questions/1337570 - https://en.wikipedia.org/wiki/Intel_High_Definition_Audio - https://gitlab.com/qemu-project/qemu/-/issues/1519 - https://lists.nongnu.org/archive/html/qemu-discuss/2020-04/msg00089.html |
||
---|---|---|
assets | ||
containers | ||
home | ||
modules | ||
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!