From cb3590483e54eca9d71001ee5e6571b02ee18a3a Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 12 Mar 2024 22:37:58 -0400 Subject: [PATCH] moved steam to nixpkgs source --- modules/steam/default.nix | 15 ++++++--------- modules/virtualization/default.nix | 25 ------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 modules/virtualization/default.nix diff --git a/modules/steam/default.nix b/modules/steam/default.nix index 38a28b30..cfc5558f 100644 --- a/modules/steam/default.nix +++ b/modules/steam/default.nix @@ -1,13 +1,10 @@ { config, pkgs, ... }: { - services.flatpak.packages = [ - "com.valvesoftware.Steam" - ]; - hardware.steam-hardware.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 - # }; + hardware.steam-hardware.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 + }; } diff --git a/modules/virtualization/default.nix b/modules/virtualization/default.nix deleted file mode 100644 index 6feaea6b..00000000 --- a/modules/virtualization/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ pkgs, ... }: -{ - - environment.systemPackages = with pkgs; [ - distrobox - ]; - - programs.virt-manager.enable = true; - - virtualisation = { - libvirtd.enable = true; - podman = { - enable = true; - - # Create a `docker` alias for podman, to use it as a drop-in replacement - dockerCompat = true; - - # Required for containers under podman-compose to be able to talk to each other. - defaultNetwork.settings.dns_enabled = true; - }; - oci-containers = { - backend = "podman"; - }; - }; -} \ No newline at end of file