Take 2 to fix the flake build service

This commit is contained in:
Daniel Flanagan 2024-03-28 16:58:56 -05:00
parent e8f498c5e9
commit 9c17acb9fd

View file

@ -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