Skip to content

Commit 3d369e6

Browse files
committed
fix(khanelimac): stream physical display
Use the existing paired Lumen config directory as the physical-display stream and drop the duplicate virtual instance that exposed the wrong workspace in Moonlight.
1 parent 17324d6 commit 3d369e6

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

systems/aarch64-darwin/khanelimac/default.nix

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,19 @@ in
4242
enable = true;
4343

4444
instances = {
45-
# Headless virtual display sized to the client; reuses the original
46-
# config dir so existing Moonlight pairings keep working.
45+
# Physical-display stream. Reuses the original config dir so existing
46+
# Moonlight pairings keep working.
4747
# Web UI: https://localhost:47990 (default base port 47989 + 1).
48-
virtual = {
48+
desktop = {
4949
configDir = "/Users/khaneliman/.config/sunshine";
50+
virtualDisplay = false;
51+
sunshineName = "khanelimac";
52+
settings = {
53+
av1_mode = 1;
54+
hevc_mode = 0;
55+
max_bitrate = 0;
56+
vt_realtime = "enabled";
57+
};
5058

5159
apps = [
5260
{ name = "Desktop"; }
@@ -82,14 +90,6 @@ in
8290
}
8391
];
8492
};
85-
86-
# Captures and controls the physical display: remote desktop mode.
87-
# Web UI: https://localhost:48990 (base port + 1).
88-
desktop = {
89-
virtualDisplay = false;
90-
port = 48989;
91-
sunshineName = "khanelimac Desktop";
92-
};
9393
};
9494
};
9595
tailscale = enabled;

0 commit comments

Comments
 (0)