From 6dd6fbbc9331fb8743faf30c6b1b93b40143b501 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 30 Jun 2018 19:34:34 +0000 Subject: [PATCH] Remove chromium iso template --- .gitignore | 3 +- chromium-config.nix | 10 ------ chromium.nix | 11 ------- qemuvirt.md | 49 ----------------------------- v1.xml | 61 ----------------------------------- v2.xml | 77 --------------------------------------------- 6 files changed, 1 insertion(+), 210 deletions(-) delete mode 100644 chromium-config.nix delete mode 100644 chromium.nix delete mode 100644 qemuvirt.md delete mode 100644 v1.xml delete mode 100644 v2.xml diff --git a/.gitignore b/.gitignore index 87a3018..ba077a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -result -*.qcow2 +bin diff --git a/chromium-config.nix b/chromium-config.nix deleted file mode 100644 index be119b5..0000000 --- a/chromium-config.nix +++ /dev/null @@ -1,10 +0,0 @@ -{config, options, ...}: -{ - config.networking.hostName = "chromium"; - config.fileSystems."/home/user" = { - device = "apphome"; - fsType = "9p"; - options = [ "trans=virtio" "version=9p2000.L" "cache=loose" ]; - neededForBoot = true; - }; -} diff --git a/chromium.nix b/chromium.nix deleted file mode 100644 index 25556fe..0000000 --- a/chromium.nix +++ /dev/null @@ -1,11 +0,0 @@ -{pkgs, ...}: -{ - imports = [ - - - - ]; - - environment.systemPackages = [ pkgs.chromium ]; - services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.chromium}/bin/chromium; done &"; -} diff --git a/qemuvirt.md b/qemuvirt.md deleted file mode 100644 index bcce5eb..0000000 --- a/qemuvirt.md +++ /dev/null @@ -1,49 +0,0 @@ -# /usr/bin/qemu-system-x86_64 - -## need - - -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny - -m 1024 - -realtime mlock=off - -smp 1,sockets=1,cores=1,threads=1 - -drive file=/home/user/appvm/result/iso/nixos-18.09pre144732.2171fc4d55b-x86_64-linux.iso,format=raw,if=none,id=drive-ide0-0-0,readonly=on - -chardev spicevmc,id=charchannel0,name=vdagent - -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 - -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on - -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 - -device intel-hda,id=sound0,bus=pci.0,addr=0x3 - -## no need :) - - -msg timestamp=on - -name guest=generic,debug-threads=on - -S - -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-generic/master-key.aes - -machine pc-i440fx-2.12,accel=kvm,usb=off,vmport=off,dump-guest-core=off - -cpu Skylake-Client-IBRS - -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=2 - -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 - -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 - -chardev spicevmc,id=charredir0,name=usbredir - -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1 - -chardev spicevmc,id=charredir1,name=usbredir - -device isa-serial,chardev=charserial0,id=serial0 - -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 - -chardev pty,id=charserial0 - -boot strict=on - -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 - -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 - -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 - -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 - -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 - -uuid cf00561e-ddc2-4be4-a91a-08b0c28f3f75 - -no-user-config - -nodefaults - -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-generic/monitor.sock,server,nowait - -mon chardev=charmonitor,id=monitor,mode=control - -rtc base=utc,driftfix=slew - -global kvm-pit.lost_tick_policy=delay - -no-hpet - -no-shutdown - -global PIIX4_PM.disable_s3=1 - -global PIIX4_PM.disable_s4=1 diff --git a/v1.xml b/v1.xml deleted file mode 100644 index 866edc2..0000000 --- a/v1.xml +++ /dev/null @@ -1,61 +0,0 @@ - - generic2 - 1048576 - 1048576 - 1 - - hvm - - - - - - - - - Skylake-Client-IBRS - - - - - - - destroy - restart - destroy - - - - - - /usr/bin/qemu-system-x86_64 - - - - - -
- - -
- - - -
- - - - - - - -