summaryrefslogtreecommitdiff
path: root/home-manager/nemu/nemu.cfg
blob: 035820f13b2097d641bbbedad94f3012be440a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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