summary refs log tree commit diff
path: root/host/Arc/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'host/Arc/hooks')
-rwxr-xr-xhost/Arc/hooks/post-rebuild.sh7
-rwxr-xr-xhost/Arc/hooks/pre-rebuild.sh7
2 files changed, 14 insertions, 0 deletions
diff --git a/host/Arc/hooks/post-rebuild.sh b/host/Arc/hooks/post-rebuild.sh
new file mode 100755

index 0000000..30733ad --- /dev/null +++ b/host/Arc/hooks/post-rebuild.sh
@@ -0,0 +1,7 @@ +#!/usr/bin/env sh +set -x + +git restore --staged hardware-configuration.nix +git restore --staged Ran.ca +git restore --staged modules/opensuse/ +git restore --staged opensuse/ \ No newline at end of file diff --git a/host/Arc/hooks/pre-rebuild.sh b/host/Arc/hooks/pre-rebuild.sh new file mode 100755
index 0000000..d4ec9d3 --- /dev/null +++ b/host/Arc/hooks/pre-rebuild.sh
@@ -0,0 +1,7 @@ +#!/usr/bin/env sh +set -x + +git add -f hardware-configuration.nix +git add -f Ran.ca +git add -f modules/opensuse/ +git add -f opensuse/ \ No newline at end of file