diff --git a/configuration.nix b/configuration.nix index e359155..c4bc88e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ let GAPS_OUT = "10"; BORDER_WIDTH = "2"; BORDER_WIDTH_INT = 2; - this will fail to rebuild + this will fail to switch rebuild # Colours BG = "282828"; BG0_H = "1d2021"; diff --git a/edit-config.sh b/edit-config.sh index d42ee1a..98d503a 100755 --- a/edit-config.sh +++ b/edit-config.sh @@ -8,6 +8,6 @@ git commit -m "$gen" if (cat nixos-switch.log | grep error = ""); then git push else - echo "\033[0;31m There was an error in your Nix Config, please fix it before you push to git \033[0m + echo "There was an error in your Nix Config, please fix it before you push to git" fi diff --git a/nixos-switch.log b/nixos-switch.log index fbcc748..5f9ff4c 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -24,9 +24,9 @@ error: at /etc/nixos/configuration.nix:13:7: 12| BORDER_WIDTH_INT = 2; - 13| this will fail to rebuild + 13| this will fail to switch rebuild | ^ - 14| # Colours + 14| # Colours building Nix... error: … while evaluating the attribute 'config' @@ -54,9 +54,9 @@ error: at /etc/nixos/configuration.nix:13:7: 12| BORDER_WIDTH_INT = 2; - 13| this will fail to rebuild + 13| this will fail to switch rebuild | ^ - 14| # Colours + 14| # Colours building the system configuration... error: … while evaluating the attribute 'config.system.build.toplevel' @@ -84,6 +84,6 @@ error: at /etc/nixos/configuration.nix:13:7: 12| BORDER_WIDTH_INT = 2; - 13| this will fail to rebuild + 13| this will fail to switch rebuild | ^ - 14| # Colours + 14| # Colours