This commit is contained in:
Daniel Bulant 2026-08-19 12:45:22 +02:00
parent 8e4937dbcb
commit 5b0a89dc5c
No known key found for this signature in database
3 changed files with 26 additions and 0 deletions

View file

@ -1,6 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
services.openssh.settings.MaxSessions = 64;
hardware.graphics.extraPackages = with pkgs; [ hardware.graphics.extraPackages = with pkgs; [
# Required for modern Intel GPUs (Xe iGPU and ARC) # Required for modern Intel GPUs (Xe iGPU and ARC)
intel-media-driver # VA-API (iHD) userspace intel-media-driver # VA-API (iHD) userspace

View file

@ -87,6 +87,29 @@ let
in in
{ {
services.hardware.openrgb.enable = true; 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 # ssh -R (remote port forward) to this server should listen publicly
services.openssh.settings.GatewayPorts = "yes"; services.openssh.settings.GatewayPorts = "yes";
boot = { boot = {

View file

@ -135,6 +135,7 @@ in
stateVersion = "25.11"; stateVersion = "25.11";
packages = with pkgs; [ packages = with pkgs; [
waypipe
cinny cinny
spacedrive-master spacedrive-master
eden eden