forked from extern/nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
6985903631
I figured out how to get wine working on Nix, and it works surprisingly well, however I'd like to avoid programs from writing wherever they want and don't want to rely on a solution like firejail. As it turns out, systemd-nspawn containers enable us to run wine applications in a reasonably private container without access to neither the files of the host nor its internet connection. |
||
---|---|---|
applications | ||
containers | ||
desktop | ||
dev | ||
examples | ||
games | ||
gnome | ||
host | ||
terminal | ||
.gitignore | ||
common.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
user.nix |
nix-config
My NixOS config with Nix Flakes, Home Manager, Stylix, and Hyprland.
Goals
- Clean, readable code that can easily be modified to add/remove things as needed.
- A reasonably secure development environment isolated from personal files.
Structure
./applications/
- GUI applications./common/
- Common configs./desktop/
- Hyprland config./dev/
- Dev stuff./host/
- Host-specific config./terminal/
- Terminal programs
Usage
git clone https://github.com/donovanglover/dotfiles && cd dotfiles
nixos-rebuild buildvm --flake .
./result/bin/run-*-vm
Login
- Username: user
- Password: user