diff options
| author | Joe Mou <dev@mou.fo> | 2026-04-15 01:40:24 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-04-15 13:29:11 -0400 |
| commit | 42a034f6a712ce3e687916bb424813c8e4ff9386 (patch) | |
| tree | ca1f5ca3204372a6791b4fba323e499e69b4a93f /hostnix/mojo/modules | |
| parent | 98cab62965b226d76cc3da5c47e44da3e4ef7f92 (diff) | |
mojo: Set up sunshine
There appear to be some issues:
- Remap Super/Alt on client
- Mouse pointer disappears
- Scroll not working
- Letterboxing
Diffstat (limited to 'hostnix/mojo/modules')
| -rw-r--r-- | hostnix/mojo/modules/apps.nix | 7 | ||||
| -rw-r--r-- | hostnix/mojo/modules/sunshine.nix | 18 |
2 files changed, 24 insertions, 1 deletions
diff --git a/hostnix/mojo/modules/apps.nix b/hostnix/mojo/modules/apps.nix index 81cd66d..2febaa0 100644 --- a/hostnix/mojo/modules/apps.nix +++ b/hostnix/mojo/modules/apps.nix @@ -17,7 +17,12 @@ environment.pathsToLink = [ "/share/vim-plugins" ]; # for fzf homebrew = { - brews = [ "mas" ]; + taps = [ "LizardByte/homebrew" ]; + + brews = [ + "mas" + "sunshine" + ]; casks = [ "karabiner-elements" # modifiers, fn, reverse scroll diff --git a/hostnix/mojo/modules/sunshine.nix b/hostnix/mojo/modules/sunshine.nix new file mode 100644 index 0000000..5b02ede --- /dev/null +++ b/hostnix/mojo/modules/sunshine.nix @@ -0,0 +1,18 @@ +{ ... }: +{ + homebrew = { + taps = [ "LizardByte/homebrew" ]; + brews = [ "sunshine" ]; + }; + + launchd.user.agents.sunshine = { + serviceConfig = { + Label = "com.lizardbyte.sunshine"; + ProgramArguments = [ "/opt/homebrew/bin/sunshine" ]; + RunAtLoad = true; + KeepAlive = true; + StandardOutPath = "/tmp/sunshine.log"; + StandardErrorPath = "/tmp/sunshine.err"; + }; + }; +} |
