41 lines
828 B
Markdown
41 lines
828 B
Markdown
# Cobray's dotfiles
|
|
|
|
My config for Hyprland desktop that I normally use as my daily driver (read: all my bloat).
|
|
|
|
## Useful commands
|
|
|
|
if you're curious what's currently available you can run:
|
|
|
|
```bash
|
|
nix flake show github:alsaiduq-lab/nix-dotfiles
|
|
```
|
|
|
|
list generations
|
|
|
|
```bash
|
|
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
|
|
```
|
|
|
|
perform garbage collection by deleting old derivations
|
|
|
|
```bash
|
|
nix run nixpkgs#nh -- clean all
|
|
```
|
|
|
|
as a separation of concerns - you will need to run this command to clean out boot
|
|
|
|
```bash
|
|
sudo /run/current-system/bin/switch-to-configuration boot
|
|
```
|
|
|
|
rollback to previous generation
|
|
|
|
```bash
|
|
sudo nixos-rebuild switch --flake . --rollback
|
|
```
|
|
|
|
bonus: in case you're stuck in some limbo state
|
|
|
|
```bash
|
|
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake .
|
|
```
|