Commit for generation 109

This commit is contained in:
2024-09-26 16:18:02 -04:00
parent 019cf5b570
commit 8bf0478e60
2 changed files with 3 additions and 3 deletions

4
flake.lock generated
View File

@@ -426,8 +426,8 @@
"pre-commit-hooks": "pre-commit-hooks"
},
"locked": {
"lastModified": 1727381443,
"narHash": "sha256-ndklrgp7ufcZXAaOl2LNuwAbKSVcxrI1YDUe3bPGTfE=",
"lastModified": 1727381845,
"narHash": "sha256-b6qhm/u/ZGMQRW2TcVj2k4lcXIJumm4eZB1AevNk2o8=",
"path": "/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim",
"type": "path"
},

View File

@@ -200,6 +200,7 @@ screengrab() {
nixswitch() {
cd "$HOME/sysflakes"
nix flake update
gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1/')
gen=$((gen + 1))
@@ -208,7 +209,6 @@ nixswitch() {
git commit -m "Commit for generation $gen"
git push
fi
nix flake update
sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse"
cd $OLDPWD
}