From 836ff0c5a05b7657dc20b967e591054a6336220f Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 6 Nov 2023 20:52:32 +0100 Subject: feat(flake): add thinklappi-bootstrap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This minimal config is intended for use with `ǹixos-install` to prevent the nix-store located in RAM from running out of space. --- flake.nix | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0c27b6a..ad175f6 100644 --- a/flake.nix +++ b/flake.nix @@ -157,14 +157,24 @@ } ]; in { - nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { - inherit system; - specialArgs = attrs; - modules = - [ - ./hosts/thinklappi - ] - ++ defaultModules; + nixosConfigurations = { + thinklappi = nixpkgs.lib.nixosSystem { + inherit system; + specialArgs = attrs; + modules = + [ + ./hosts/thinklappi + ] + ++ defaultModules; + }; + thinklappi-bootstrap = nixpkgs.lib.nixosSystem { + inherit system; + specialArgs = attrs; + modules = [ + ./hosts/thinklappi-bootstrap + lanzaboote.nixosModules.lanzaboote + ]; + }; }; devShells."${system}" = { default = pkgs.mkShell { -- cgit 1.4.1