diff --git a/modules/system/git-auto-rebuild.nix b/modules/system/git-auto-rebuild.nix index 4fe4cc6..763620b 100644 --- a/modules/system/git-auto-rebuild.nix +++ b/modules/system/git-auto-rebuild.nix @@ -8,7 +8,7 @@ # startAt = "*:0/1"; serviceConfig = { Type = "simple"; - ExecStart = "/run/current-system/sw/bin/bash -c '/etc/nixos && sudo nixos-rebuild switch --flake #${networking.hostname}'"; + ExecStart = "/run/current-system/sw/bin/bash -c '/etc/nixos && sudo nixos-rebuild switch --flake #${networking.hostName}'"; }; };