diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-01 14:13:56 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-01 14:13:56 -0700 |
commit | 7092485a6c9a6b87369dca4d22277f6eb82e68cb (patch) | |
tree | 1d4e4ea7fbbc47e7bb7a52d4fa1f58eb4a812bf7 /flake.nix | |
parent | d3087f1e778a83cb9ff0a73ff646d57204f0eac7 (diff) | |
download | nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar.gz nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar.bz2 nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar.lz nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar.xz nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.tar.zst nix-7092485a6c9a6b87369dca4d22277f6eb82e68cb.zip |
Add custom x86-64 NixOS ISO system
Diffstat (limited to '')
-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 = [ |