diff options
| author | alex <[email protected]> | 2026-10-20 17:38:37 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-10-20 17:38:37 +0200 |
| commit | 0367a07945aceb983e60efea24a0bdebdf1698f7 (patch) | |
| tree | f1b6941c76092d1025b813223196403679f488ac /home-manager/nemu/nemu.cfg | |
| parent | 1c9f7d798833a977848f39552adf758e267140bb (diff) | |
| download | nixos-0367a07945aceb983e60efea24a0bdebdf1698f7.tar.xz nixos-0367a07945aceb983e60efea24a0bdebdf1698f7.zip | |
added nemu config
Diffstat (limited to 'home-manager/nemu/nemu.cfg')
| -rw-r--r-- | home-manager/nemu/nemu.cfg | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/home-manager/nemu/nemu.cfg b/home-manager/nemu/nemu.cfg new file mode 100644 index 0000000..035820f --- /dev/null +++ b/home-manager/nemu/nemu.cfg @@ -0,0 +1,103 @@ +[main] +# virtual machine dir. +vmdir = /home/phos/nemu_vm + +# path to database file. +db = /home/phos/.nemu.db + +# path to debug log file. Example: +# debug_path = /tmp/nemu_debug.log + +# override highlight color of running VM's. Example: +# hl_color = 00afd7 + +# override error text color. Example: +# err_color = cd1430 + +# glyph_checkbox = 1 +# glyph_separator = 0 + +# change cursor style for nemu. +# see https://terminalguide.namepad.de/seq/csi_sq_t_space/ +# if not set VTE's default cursor style will be used +# cursor_style = 1 + +# Properties refresh timeout (ms) +# refresh_timeout = 500 + +[preview] +# enabled = 0 +# scale = 0 +# png_path = /tmp/nemu.png + +[viewer] +# default protocol (1 - spice, 0 - vnc) +spice_default = 1 + +# run the application in the background. +background_mode = 1 + +# vnc client path. +vnc_bin = /run/current-system/sw/bin/false + +# vnc client args (%t - title, %p - port) +vnc_args = :%p + +# spice client path. +spice_bin = /run/current-system/sw/bin/remote-viewer + +# spice client args (%t - title, %p - port) +spice_args = --title %t spice://127.0.0.1:%p + +# listen for vnc|spice connections (0 - only localhost, 1 - any address) +listen_any = 0 + +[qemu] +# path to directory, where QEMU binary can be found. +qemu_bin_path = /run/current-system/sw/bin + +# comma separated QEMU system targets installed. +targets = sh4eb,aarch64,x86_64,microblazeel,sh4,rx,ppc64,sparc,alpha,i386,mips64el,xtensa,or1k,arm,loongarch64,ppc,mipsel,tricore,mips,hppa,m68k,riscv32,mips64,sparc64,xtensaeb,microblaze,s390x,avr,riscv64 + +# Log last QEMU command. +enable_log = 1 + +# Log path. +log_cmd = /tmp/qemu_last_cmd.log + +[nemu-monitor] +# Auto start monitoring daemon +autostart = 1 + +# Daemon sleep interval (ms) (default: 1000) +#sleep = 1000 + +# Monitoring daemon pid file +pid = /tmp/nemu-monitor.pid + +# Enable D-Bus feature +dbus_enabled = 1 + +# Message timeout (ms) +dbus_timeout = 2000 + +# Enable remote control (default: disabled) +#remote_control = 0 + +# Remote control listen interface (default: any) +#remote_interface = eth0 + +# Remote control port (default: 20509) +#remote_port = 20509 + +# Remote control public certificate path +#remote_tls_cert = /path + +# Remote control private key path +#remote_tls_key = /path + +# Remote control password salt +#remote_salt = salt + +# Remote control "password+salt" hash (sha256) +#remote_hash = hash |
