141 current 2024-03-03 22:09:10 24.05.20240229.1536926 6.6.18 *
This commit is contained in:
parent
72c6c17a4e
commit
054a92c169
1 changed files with 2 additions and 2 deletions
|
|
@ -73,6 +73,7 @@
|
|||
pkgs.obs-studio
|
||||
inputs.kb-gui.packages.${pkgs.system}.kb
|
||||
pkgs.sway-audio-idle-inhibit
|
||||
pkgs.hyprshot
|
||||
|
||||
# # You can also create simple shell scripts directly inside your
|
||||
# # configuration. For example, this adds a command 'my-hello' to your
|
||||
|
|
@ -85,10 +86,9 @@
|
|||
set -e
|
||||
pushd ~/nixos/
|
||||
alejandra . &>/dev/null
|
||||
git diff -U0 **/*.nix
|
||||
git add .
|
||||
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)
|
||||
git commit -am "$gen"
|
||||
git push origin main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue