287 current 2024-08-17 11:33:49 24.05.3642.883180e6550c 6.6.44 *
This commit is contained in:
parent
90f58db285
commit
f621d7d0ac
@ -10,7 +10,7 @@ let
|
||||
GAPS_OUT = "10";
|
||||
BORDER_WIDTH = "2";
|
||||
BORDER_WIDTH_INT = 2;
|
||||
kwaf
|
||||
kwafe
|
||||
# Colours
|
||||
BG = "282828";
|
||||
BG0_H = "1d2021";
|
||||
|
@ -2,8 +2,11 @@ sudo emacs /etc/nixos/configuration.nix
|
||||
sudo nixos-rebuild switch &>nixos-switch.log || (
|
||||
cat nixos-switch.log | grep --color error && false)
|
||||
gen=$(nixos-rebuild list-generations | grep current)
|
||||
log=$(cat nixos-switch.log)
|
||||
sudo cp /etc/nixos/configuration.nix .
|
||||
git add .
|
||||
git commit -m "$gen"
|
||||
git push
|
||||
if (! log | grep error); then
|
||||
git push
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user