From 48b5319d0f08fca4fb30e04ab24217449742ca75 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 21 Sep 2023 10:36:23 +0900 Subject: [PATCH] Update build aliases --- home-manager/common/software/cli/bash.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index bba7213f..7693ec57 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -106,9 +106,9 @@ rebuild-all = "rebuild-home && rebuild-host"; # Build ISOs/SD Card Images - nixos-build-pi-img = "nix build /etc/nixos/git#imageConfigurations.nixos-rpi4-img.config.system.build.sdImage"; - nixos-build-console = "nix build /etc/nixos/git#imageConfigurations.nixos-iso-console.config.system.build.isoImage"; - # nixos-build-desktop = "nix build /etc/nixos/git#nixosConfigurations.nixos-iso-desktop.config.system.build.isoImage"; + nixos-build-pi-img = "pushd /etc/nixos/git && nix build .#imageConfigurations.nixos-rpi4-img.config.system.build.sdImage && popd"; + nixos-build-console = "pushd /etc/nixos/git && nix build .#imageConfigurations.nixos-iso-console.config.system.build.isoImage && popd"; + # nixos-build-desktop = "pushd /etc/nixos/git && nix build .#nixosConfigurations.nixos-iso-desktop.config.system.build.isoImage && popd"; }; }; };