mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
Compare commits
3 commits
d03c0990e8
...
e9adff9c68
Author | SHA1 | Date | |
---|---|---|---|
e9adff9c68 | |||
0c2af247c9 | |||
4f094148f4 |
3 changed files with 19 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{config, pkgs}:
|
||||
{config, pkgs, ...}:
|
||||
|
||||
{
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./flatpak.nix
|
||||
./discord.nix
|
||||
./ollama.nix
|
||||
./steam.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
17
hosts/goober/features/software/steam.nix
Normal file
17
hosts/goober/features/software/steam.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
{
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue