nixos/modules/steam/default.nix

13 lines
330 B
Nix
Raw Normal View History

2022-02-21 11:36:12 +01:00
{ inputs, custom, ... }:
2022-01-03 17:51:24 +01:00
{
programs.steam.enable = true;
hardware.steam-hardware.enable = true;
networking.firewall = {
allowedTCPPorts = [ 27036 ];
allowedUDPPorts = [ 27031 ];
};
2022-02-21 11:36:12 +01:00
home-manager.users.${custom.username} = {
home.file.".local/share/applications/steam.desktop".source = ./steam.desktop;
};
2022-01-03 17:51:24 +01:00
}