diff --git a/servers/aura/configuration.nix b/servers/aura/configuration.nix index b28dc8f..251a896 100644 --- a/servers/aura/configuration.nix +++ b/servers/aura/configuration.nix @@ -1,6 +1,8 @@ { pkgs, ... }: { + services.openssh.settings.MaxSessions = 64; + hardware.graphics.extraPackages = with pkgs; [ # Required for modern Intel GPUs (Xe iGPU and ARC) intel-media-driver # VA-API (iHD) userspace diff --git a/servers/fern/configuration.nix b/servers/fern/configuration.nix index 747659c..6d13bc5 100644 --- a/servers/fern/configuration.nix +++ b/servers/fern/configuration.nix @@ -87,6 +87,29 @@ let in { services.hardware.openrgb.enable = true; + + # Hyprland's FALLBACK output has no capturable framebuffer. Keep a real + # headless output available so Sunshine can stream when no monitor is attached. + # systemd.user.services.sunshine-headless-output = { + # description = "Create a headless Hyprland output for Sunshine"; + # before = [ "sunshine.service" ]; + # partOf = [ "graphical-session.target" ]; + # serviceConfig = { + # Type = "oneshot"; + # RemainAfterExit = true; + # ExecStart = pkgs.writeShellScript "sunshine-headless-output" '' + # ${lib.getExe' pkgs.hyprland "hyprctl"} output create headless sunshine + # ${lib.getExe' pkgs.hyprland "hyprctl"} keyword monitor sunshine,1920x1080@60,0x0,1 + # ''; + # ExecStop = pkgs.writeShellScript "remove-sunshine-headless-output" '' + # ${lib.getExe' pkgs.hyprland "hyprctl"} output remove sunshine + # ''; + # }; + # }; + # systemd.user.services.sunshine = { + # requires = [ "sunshine-headless-output.service" ]; + # after = [ "sunshine-headless-output.service" ]; + # }; # ssh -R (remote port forward) to this server should listen publicly services.openssh.settings.GatewayPorts = "yes"; boot = { diff --git a/servers/ui-mode/home.nix b/servers/ui-mode/home.nix index bfe52ce..7f039da 100644 --- a/servers/ui-mode/home.nix +++ b/servers/ui-mode/home.nix @@ -135,6 +135,7 @@ in stateVersion = "25.11"; packages = with pkgs; [ + waypipe cinny spacedrive-master eden