spacepaste

  1.  
  2. # nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
  3. { config, lib, pkgs, modulesPath, ... }:
  4. {
  5. imports = [
  6. <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
  7. ];
  8. boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
  9. # enable zfs support
  10. boot.supportedFilesystems = [ "zfs" ];
  11. boot.zfs.enableUnstable = true;
  12. # enable sshd on boot
  13. systemd.services.sshd.wantedBy = lib.mkOverride 40 [ "multi-user.target" ];
  14. services.openssh.enable = true;
  15. services.nixosManual.enable = lib.mkForce false;
  16. config.hardware.enableAllFirmware
  17. users.extraUsers.root.openssh.authorizedKeys.keys = [
  18. "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCTrw8gZoBYkh4Ud8/QCXAaJk020XMbRlcu61QPTnpjvLLxAwSr3d+K7ccDal9FaSQg0GBx58aVRcdVoFBFmHbX6iqR6OT2hoenbxRfVa69DaY6w/eIY5seQ0Xzio8PsX2Cc4IPdM3XqlpTLhQ2+/kNnDC9/NYs2UX6r318uHrHPW5hs6rFPxvekcel56Vy1LKrMb5EgLwOFuhqegKpuZl6Dw39HHAIi0+cVCqc+eP8SmgdcYCm7CjLXU4mV8BwIMx/8TSDravJhnRLYX+S+BFUA3sXTeg1xzUKhFTE3lF4MJTNB613bcygX4HLXcG0YJ/6CDLBVey0xCfyKSbc18nlhRzuePzU8yYL8TRVoMJrEEurq8ZrkxX+lFs83CnFq4epH3vdz+Y6Q8foTVEF0XECgJ08MElXZRFRA5iWvO4S2PQLqn8LKRVxbF6NV34IrchCQavirZCv01FKRYfbpiNSzGLxKn2qvHDiYeqLV8gqj6wgO+DF8w6DsJcEUO3qiUDpbfXMCU8S5HgwVB7oOh+0g0Gq81HmjX0/a2WhuhbwC1Glt+gyLCLd/2RTRIetMymT8kZ61izVVNh0PeAoy4d2DpcKdmaK8CNjZ1/8c9a4Pxzg1HIHlPEyKf9NZ+TlGlUjmTEVOefxAWBVpQuwqEsOF1BkG9tDZsPQdcMhZbtvYQ== cardno:000605255225"
  19. ];
  20. }
  21.