Fix flake build service

This commit is contained in:
Daniel Flanagan 2024-03-28 16:56:46 -05:00
parent 06c57aa29f
commit e8f498c5e9

View file

@ -153,7 +153,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
systemd.services."build-lytedev-flake" = {
script = ''
nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git
${pkgs.nixos-rebuild}/bin/nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git
'';
serviceConfig = {
Type = "oneshot";