summary refs log tree commit diff
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-01 12:50:46 +0300
committertzlil <tzlils@protonmail.com>2023-08-01 12:50:46 +0300
commit6c97037a206c24aad6f54da4cfc32c3e63791ba3 (patch)
tree3c0291ab7b4d7fac41b10b016ac4738247804d10
parent23be437c10db27db1242971db13d64c1e04f9c19 (diff)
delete run.sh, make navi tmpfs root smaller (not needed now that /tmp is on-disk for builds (but still wiped on boot))
-rw-r--r--hosts/navi/hardware-configuration.nix2
-rwxr-xr-xrun.sh15
2 files changed, 1 insertions, 16 deletions
diff --git a/hosts/navi/hardware-configuration.nix b/hosts/navi/hardware-configuration.nix
index 7b24c68..c0a9661 100644
--- a/hosts/navi/hardware-configuration.nix
+++ b/hosts/navi/hardware-configuration.nix
@@ -62,7 +62,7 @@ in {
     nodev."/" = {
       fsType = "tmpfs";
       mountOptions = [
-        "size=8G"
+        "size=2G"
         "defaults"
         "mode=755"
       ];
diff --git a/run.sh b/run.sh
deleted file mode 100755
index 6cdee23..0000000
--- a/run.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-qemu-system-x86_64 \
-    -enable-kvm \
-    -m 4G \
-    -cpu host \
-    -smp 2 \
-    -hda nixos-test.img \
-    -bios OVMF.fd \
-    -display gtk,gl=on,show-cursor=on \
-    -vga none \
-    -device virtio-gpu-pci \
-    -audiodev pa,id=snd0 \
-    -usb -device usb-mouse \
-    -audiodev jack,id=jack0,out.connect-ports=Family \
-    -device ich9-intel-hda -device hda-duplex,audiodev=jack0