Accept flake config when building

This commit is contained in:
Daniel Flanagan 2024-03-28 17:00:09 -05:00
parent 9c17acb9fd
commit 213f531f7c

View file

@ -153,7 +153,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
systemd.services."build-lytedev-flake" = { systemd.services."build-lytedev-flake" = {
script = '' script = ''
nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git --accept-flake-config
''; '';
path = with pkgs; [git nixos-rebuild]; path = with pkgs; [git nixos-rebuild];
serviceConfig = { serviceConfig = {