Compare commits

...

2 Commits

Author SHA1 Message Date
2263671c67 Specify build host and directory in the makefile 2023-02-14 20:59:28 +01:00
63b442c6c9 Restart openbooks after the zpool mount 2023-02-14 20:59:08 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
DIR=$(HOME)/Projects/zion
switch:
nixos-rebuild switch --fast --target-host root@zion --flake path://$(PWD)#zion
nixos-rebuild switch --fast --target-host root@zion \
--build-host root@zion --flake path://$(DIR)#zion
.DEFAULT_GOAL := switch

View File

@@ -61,6 +61,7 @@ in {
systemctl restart syncthing
systemctl restart radicale
systemctl restart gitea
systemctl restart podman-openbooks
'';
serviceConfig.Type = "oneshot";
requires = [ "sata-hat.service" ];