mirror of
https://github.com/danbulant/dotfiles
synced 2026-09-17 13:23:51 +00:00
update
This commit is contained in:
parent
8e4937dbcb
commit
5b0a89dc5c
3 changed files with 26 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@ in
|
|||
stateVersion = "25.11";
|
||||
|
||||
packages = with pkgs; [
|
||||
waypipe
|
||||
cinny
|
||||
spacedrive-master
|
||||
eden
|
||||
|
|
|
|||
Loading…
Reference in a new issue