nix-dotfiles/README.md
2026-01-01 20:28:16 -07:00

765 B

Cobray's dotfiles

My config for Hyprland desktop that I normally use as my daily driver (read: all my bloat).

Useful commands

list generations

nix-env --list-generations

perform garbage collection by deleting old derivations

nix-collect-garbage --delete-old

recommeneded to sometimes run as sudo to collect additional garbage

sudo nix-collect-garbage -d

as a separation of concerns - you will need to run this command to clean out boot

sudo /run/current-system/bin/switch-to-configuration boot

rollback to previous generation

sudo nixos-rebuild switch --rollback

bonus: in case you're stuck in some limbo state

sudo /run/current-system/sw/bin/nixos-rebuild switch --flake .