From 41851ff23fbc42a89168689d69ae997b4e61ef15 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 7 Mar 2025 16:34:49 -0600 Subject: [PATCH] feat: include devShell in build systemd timer job --- packages/hosts/beefcake.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/hosts/beefcake.nix b/packages/hosts/beefcake.nix index c0f6c38..8dbabab 100644 --- a/packages/hosts/beefcake.nix +++ b/packages/hosts/beefcake.nix @@ -148,12 +148,15 @@ systemd.services."build-lytedev-flake" = { # TODO: might want to add root for the most recent results? script = '' + flake="git+https://git.lyte.dev/lytedev/nix.git" # build self (main server) configuration - nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git --accept-flake-config + nixos-rebuild build --flake "$flake#beefcake" --accept-flake-config # build desktop configuration - nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git#dragon --accept-flake-config + nixos-rebuild build --flake "$flake#dragon" --accept-flake-config # build main laptop configuration - nixos-rebuild build --flake git+https://git.lyte.dev/lytedev/nix.git#foxtrot --accept-flake-config + nixos-rebuild build --flake "$flake#foxtrot" --accept-flake-config + # ensure dev shell packages are built (and cached) + nix develop "$flake" --build ''; path = with pkgs; [ openssh