141 current 2024-03-03 22:09:10 24.05.20240229.1536926 6.6.18 *

This commit is contained in:
zackartz 2024-03-03 22:09:16 -05:00
parent 72c6c17a4e
commit 054a92c169

View file

@ -73,6 +73,7 @@
pkgs.obs-studio pkgs.obs-studio
inputs.kb-gui.packages.${pkgs.system}.kb inputs.kb-gui.packages.${pkgs.system}.kb
pkgs.sway-audio-idle-inhibit pkgs.sway-audio-idle-inhibit
pkgs.hyprshot
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your
@ -85,10 +86,9 @@
set -e set -e
pushd ~/nixos/ pushd ~/nixos/
alejandra . &>/dev/null alejandra . &>/dev/null
git diff -U0 **/*.nix
git add . git add .
echo "[REBUILD]: rebuilding nixos" echo "[REBUILD]: rebuilding nixos"
sudo nixos-rebuild switch --flake ~/nixos#earth &>nixos-switch.log || (cat nixos-switch.log | grep --color error && false) sudo nixos-rebuild switch --flake ~/nixos#earth
gen=$(nixos-rebuild list-generations | grep current) gen=$(nixos-rebuild list-generations | grep current)
git commit -am "$gen" git commit -am "$gen"
git push origin main git push origin main