From c75c85f9130cf7c8898846144dddf857c5be15fc Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 18 Sep 2023 18:37:05 +0900 Subject: [PATCH] test --- README.md | 1 + home-manager/common/software/cli/bash.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 34a7333f..412c82d4 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ ## Building * To build the Raspberry Pi image: `nix build .#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage` +* The resulting .img will be in `result/sd-image/*.img.zst` ![Gruv'd Hyprland](./screenshot.png "Hyprland with a Gruvboxy theme") diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index 05e63b4f..b12116d2 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -106,6 +106,11 @@ rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git"; rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git"; rebuild-all = "rebuild-home && rebuild-host"; + + # Build ISOs/SD Card Images + nixos-build-pi-img = "nix build /etc/nixos/git#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage"; + # nixos-build-console = "nix build /etc/nixos/git#nixosConfigurations.nixos-iso-console.config.system.build.isoImage"; + # nixos-build-desktop = "nix build /etc/nixos/git#nixosConfigurations.nixos-iso-desktop.config.system.build.isoImage"; }; }; };