diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -88,6 +88,22 @@ ]; }; + # from https://nixos.wiki/wiki/Creating_a_NixOS_live_CD and https://chengeric.com/homelab/ + iso = nixpkgs.lib.nixosSystem { + modules = [ + "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" + ({ + #isoImage.squashfsCompression = "gzip -Xcompression-level 1"; + users.users.nixos = { + openssh.authorizedKeys.keys = [ + (builtins.readFile ./hosts/common/users/nipsy/keys/id_arrakis.pub) + ]; + }; + }) + ]; + system = "x86_64-linux"; + }; + kaitain = nixpkgs.lib.nixosSystem rec { specialArgs = { inherit inputs outputs; }; modules = [ |