Added sunshine configuration

This commit is contained in:
xeovalyte 2024-06-17 11:49:58 +02:00
parent 469f57c2d8
commit 2f6af8c9ae
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
4 changed files with 22 additions and 2 deletions

View File

@ -16,6 +16,7 @@
../../modules/system/utils/garbage-collection.nix ../../modules/system/utils/garbage-collection.nix
../../modules/system/utils/locale.nix ../../modules/system/utils/locale.nix
../../modules/system/utils/printing.nix ../../modules/system/utils/printing.nix
../../modules/system/programs/sunshine.nix
]; ];
nix.settings = { nix.settings = {

View File

@ -25,9 +25,10 @@
kdenlive kdenlive
gthumb gthumb
unstable.arduino-ide unstable.arduino-ide
moonlight-qt
unstable.prismlauncher unstable.prismlauncher
unstable.joplin-desktop unstable.joplin-desktop
unstable.moonlight-qt
]; ];
home.stateVersion = "24.05"; home.stateVersion = "24.05";

View File

@ -24,7 +24,13 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
settings = { settings = {
monitor = if hostName == "xv-laptop" then ",preferred,auto,1.333" else ",preferred,auto,auto"; monitor = if hostName == "xv-laptop" then [
"eDP-1,preferred,3840x0,1.333"
"DP-10,preferred,0x0,1"
"DP-9,preferred,1920x0,1"
] else [
",preferred,auto,auto"
];
exec-once = [ exec-once = [
"waybar" "waybar"
@ -67,6 +73,7 @@
misc = { misc = {
vfr = "true"; vfr = "true";
vrr = 2;
force_default_wallpaper = "0"; force_default_wallpaper = "0";
}; };

View File

@ -0,0 +1,11 @@
{ ..., pkgs }:
{
services.sunshine = {
enable = true;
package = pkgs.unstable.sunshine;
autostart = true;
capSysAdmin = true;
openFirewall = true;
};
}