refactor(steam): port to home
This commit is contained in:
parent
6f489d47eb
commit
2426ce43f3
4 changed files with 56 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.faucet.steam;
|
||||
in {
|
||||
options.faucet.steam = {
|
||||
enable = mkEnableOption "steam software and environment";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
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
|
||||
};
|
||||
|
||||
users.home.persist.directories = [
|
||||
".local/share/Steam"
|
||||
".steam"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue