Guest User

Untitled

a guest
Feb 17th, 2025
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. { config, lib, pkgs, ... }:
  2.  
  3. {
  4. networking.hostName = "myvm";
  5.  
  6. virtualisation.proxmox = {
  7. node = "intelnuc";
  8. # autoInstall = lib.mkForce true;
  9. iso = pkgs.runCommand "nixos-minimal.iso" {
  10. # src = ../latest-nixos-minimal-x86_64-linux.iso;
  11. src = ../BookwormPup64_10.0.10.iso;
  12. } ''
  13. mkdir -p $out
  14. mkdir $out/iso
  15. cp $src $out/iso/
  16. '';
  17.  
  18. vmid = 100;
  19. memory = 12288;
  20. cores = 3;
  21. sockets = 1;
  22. boot.order = [ "disk" ];
  23. scsi = [
  24. { file = "/home/spiderunderurbed/hdds/vms/vm-1/result/nixos.qcow2"; size = "20G"; }
  25. ];
  26. };
  27.  
  28. services.openssh.enable = true;
  29. time.timeZone = "UTC";
  30.  
  31. # 🔧 Fix conflicting image.baseName
  32. # image.baseName = lib.mkForce "nixos-custom";
  33. }
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment