From 9c17acb9fd3c3f27eda98915fb7f6481b13593d1 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 28 Mar 2024 16:58:56 -0500 Subject: [PATCH] Take 2 to fix the flake build service --- nixos/beefcake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index a42f509..ac63ddc 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -153,8 +153,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 systemd.services."build-lytedev-flake" = { script = '' - ${pkgs.nixos-rebuild}/bin/nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git + nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git ''; + path = with pkgs; [git nixos-rebuild]; serviceConfig = { Type = "oneshot"; User = "daniel"; # might have to run as me for git ssh access to the repo