summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-06 20:52:32 +0100
committersils <sils@sils.li>2023-11-06 20:52:32 +0100
commit836ff0c5a05b7657dc20b967e591054a6336220f (patch)
treea1b496c222c0587512f09c7fd997a4adac59a0b5 /flake.nix
parentbuild(flake): update (diff)
downloadnix-config-836ff0c5a05b7657dc20b967e591054a6336220f.zip
feat(flake): add thinklappi-bootstrap
This minimal config is intended for use with `ǹixos-install` to prevent the nix-store located in RAM from running out of space.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix26
1 files changed, 18 insertions, 8 deletions
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 {