[nix] Add helper wrappers to edit and apply my nixos stuff

This commit is contained in:
Sebastian Schulze 2023-12-08 10:01:22 +01:00
parent 1c336cb52d
commit 7db91c0da8
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eo pipefail
sudo nixos-rebuild switch
nix-env --delete-generations 7d
nix-store --gc
nix-collect-garbage -d

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd ~/.local/share/chezmoi/dot_config/nixos
tn