Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, lib, pkgs, ... }:
- {
- networking.hostName = "myvm";
- virtualisation.proxmox = {
- node = "intelnuc";
- # autoInstall = lib.mkForce true;
- iso = pkgs.runCommand "nixos-minimal.iso" {
- # src = ../latest-nixos-minimal-x86_64-linux.iso;
- src = ../BookwormPup64_10.0.10.iso;
- } ''
- mkdir -p $out
- mkdir $out/iso
- cp $src $out/iso/
- '';
- vmid = 100;
- memory = 12288;
- cores = 3;
- sockets = 1;
- boot.order = [ "disk" ];
- scsi = [
- { file = "/home/spiderunderurbed/hdds/vms/vm-1/result/nixos.qcow2"; size = "20G"; }
- ];
- };
- services.openssh.enable = true;
- time.timeZone = "UTC";
- # 🔧 Fix conflicting image.baseName
- # image.baseName = lib.mkForce "nixos-custom";
- }
Advertisement
Add Comment
Please, Sign In to add comment