feat(homes/rafiq): enable sunshine and fix modules for steam
This commit is contained in:
parent
3db3dc176c
commit
5048f44559
1 changed files with 23 additions and 9 deletions
|
@ -6,16 +6,29 @@
|
||||||
"steam"
|
"steam"
|
||||||
"steam-unwrapped"
|
"steam-unwrapped"
|
||||||
];
|
];
|
||||||
flake.modules.nixos.graphical = {
|
flake.modules.nixos.graphical =
|
||||||
security.pam.services.hyprlock = { };
|
{ config, ... }:
|
||||||
programs.steam = {
|
{
|
||||||
enable = true;
|
security.pam.services.hyprlock = { };
|
||||||
gamescopeSession.enable = true;
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
};
|
||||||
|
services.sunshine = {
|
||||||
|
enable = true;
|
||||||
|
capSysAdmin = true;
|
||||||
|
openFirewall = true;
|
||||||
|
settings = {
|
||||||
|
sunshine_name = config.networking.hostName;
|
||||||
|
origin_pin_allowed = "wan";
|
||||||
|
origin_web_ui_allowed = "wan";
|
||||||
|
};
|
||||||
|
applications = { };
|
||||||
|
};
|
||||||
|
# spotifyd
|
||||||
|
networking.firewall.allowedTCPPorts = [ 5353 ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 5353 ];
|
||||||
};
|
};
|
||||||
# spotifyd
|
|
||||||
networking.firewall.allowedTCPPorts = [ 5353 ];
|
|
||||||
networking.firewall.allowedUDPPorts = [ 5353 ];
|
|
||||||
};
|
|
||||||
flake.modules.homeManager.rafiq =
|
flake.modules.homeManager.rafiq =
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -73,6 +86,7 @@
|
||||||
".tor project"
|
".tor project"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
|
".config/sunshine"
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue