287 current 2024-08-17 11:33:49 24.05.3642.883180e6550c 6.6.44 *
This commit is contained in:
parent
d50e3444e1
commit
c60067f112
@ -10,7 +10,7 @@ let
|
|||||||
GAPS_OUT = "10";
|
GAPS_OUT = "10";
|
||||||
BORDER_WIDTH = "2";
|
BORDER_WIDTH = "2";
|
||||||
BORDER_WIDTH_INT = 2;
|
BORDER_WIDTH_INT = 2;
|
||||||
test error boo
|
test error boo!
|
||||||
# Colours
|
# Colours
|
||||||
BG = "282828";
|
BG = "282828";
|
||||||
BG0_H = "1d2021";
|
BG0_H = "1d2021";
|
||||||
|
@ -2,13 +2,12 @@ sudo emacs /etc/nixos/configuration.nix
|
|||||||
sudo nixos-rebuild switch &>nixos-switch.log || (
|
sudo nixos-rebuild switch &>nixos-switch.log || (
|
||||||
cat nixos-switch.log | grep --color error && false)
|
cat nixos-switch.log | grep --color error && false)
|
||||||
gen=$(nixos-rebuild list-generations | grep current)
|
gen=$(nixos-rebuild list-generations | grep current)
|
||||||
log=$(cat nixos-switch.log)
|
|
||||||
sudo cp /etc/nixos/configuration.nix .
|
sudo cp /etc/nixos/configuration.nix .
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$gen"
|
git commit -m "$gen"
|
||||||
if ($log | grep error); then
|
if (cat nixos-switch.log | grep error = ""); then
|
||||||
echo "There was an error in your Nix Config"
|
|
||||||
else
|
|
||||||
git push
|
git push
|
||||||
|
else
|
||||||
|
echo "There was an error in your Nix Config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ error:
|
|||||||
at /etc/nixos/configuration.nix:13:7:
|
at /etc/nixos/configuration.nix:13:7:
|
||||||
|
|
||||||
12| BORDER_WIDTH_INT = 2;
|
12| BORDER_WIDTH_INT = 2;
|
||||||
13| test error boo
|
13| test error boo!
|
||||||
| ^
|
| ^
|
||||||
14| # Colours
|
14| # Colours
|
||||||
building Nix...
|
building Nix...
|
||||||
error:
|
error:
|
||||||
… while evaluating the attribute 'config'
|
… while evaluating the attribute 'config'
|
||||||
@ -54,9 +54,9 @@ error:
|
|||||||
at /etc/nixos/configuration.nix:13:7:
|
at /etc/nixos/configuration.nix:13:7:
|
||||||
|
|
||||||
12| BORDER_WIDTH_INT = 2;
|
12| BORDER_WIDTH_INT = 2;
|
||||||
13| test error boo
|
13| test error boo!
|
||||||
| ^
|
| ^
|
||||||
14| # Colours
|
14| # Colours
|
||||||
building the system configuration...
|
building the system configuration...
|
||||||
error:
|
error:
|
||||||
… while evaluating the attribute 'config.system.build.toplevel'
|
… while evaluating the attribute 'config.system.build.toplevel'
|
||||||
@ -84,6 +84,6 @@ error:
|
|||||||
at /etc/nixos/configuration.nix:13:7:
|
at /etc/nixos/configuration.nix:13:7:
|
||||||
|
|
||||||
12| BORDER_WIDTH_INT = 2;
|
12| BORDER_WIDTH_INT = 2;
|
||||||
13| test error boo
|
13| test error boo!
|
||||||
| ^
|
| ^
|
||||||
14| # Colours
|
14| # Colours
|
||||||
|
Loading…
x
Reference in New Issue
Block a user