mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
This was my working solution at forwarding ports from a container to the host. Although mullvad no longer supports port forwarding, this example can still be used to forward e.g. web services from containers to the host.
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
Languages
Nix
100%