spacepaste

  1.  
  2. # Teclast X98 Pro nixos install iso
  3. # nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix --no-out-link --show-trace
  4. { config, lib, pkgs, modulesPath, ... }:
  5. {
  6. imports = [
  7. <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
  8. ];
  9. # Hardware is only well-supported on very recent kernels
  10. boot.kernelPackages = pkgs.linuxPackages_latest;
  11. # Wifi requires firmware
  12. hardware.enableRedistributableFirmware = true;
  13. hardware.firmware = with pkgs; [
  14. firmwareLinuxNonfree
  15. ];
  16. systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ];
  17. users.users.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. # networking.wireless.enable conflicts with networkmanager
  21. networking.wireless.enable = pkgs.lib.mkForce false;
  22. networking.networkmanager.enable = true;
  23. environment.systemPackages = with pkgs; [
  24. emacs
  25. vim
  26. btrfs-progs
  27. xfsprogs
  28. acpi
  29. htop
  30. wget
  31. curl
  32. which
  33. ];
  34. }
  35.