diff --git a/README.org b/README.org index 663f986..e6d862a 100644 --- a/README.org +++ b/README.org @@ -566,7 +566,6 @@ acernitro = nixpkgs.lib.nixosSystem { <> <> <> - <> <> <> <> diff --git a/flake.nix b/flake.nix index 8c4cdf3..9b7cc76 100644 --- a/flake.nix +++ b/flake.nix @@ -47,7 +47,6 @@ ./modules/x11.nix ./modules/ssh.nix ./modules/hugo.nix - ./modules/docker.nix ./modules/flakes.nix ./modules/cachix.nix diff --git a/modules/steam.nix b/modules/steam.nix deleted file mode 100644 index 8176e2c..0000000 --- a/modules/steam.nix +++ /dev/null @@ -1,38 +0,0 @@ -# <> -{ config, pkgs, ... }: - -let - # Keep garbage out of the home directory. - mySteamDir = "$XDG_DATA_HOME/steam"; - - # Custom shim for running steam. - mySteam = pkgs.writeScriptBin "steam" '' - HOME="${mySteamDir}" exec ${pkgs.steam}/bin/steam "$@" - ''; - - # Run applications using the steam libraries. - mySteamRun = pkgs.writeScriptBin "steam-run" '' - HOME="${mySteamDir}" exec ${pkgs.steam-run-native}/bin/steam-run "$@" - ''; - -in { - # Install custom shims. - environment.systemPackages = [ - mySteam - mySteamRun - ]; - - # Create the steam directory. - system.userActivationScripts.setupSteamDir = '' - mkdir -p ${mySteamDir} - ''; - - # Required hardware configuration(s). - hardware.opengl.enable = true; - hardware.opengl.driSupport32Bit = true; - hardware.pulseaudio.support32Bit = true; - hardware.steam-hardware.enable = true; - - # Increase performance for proton games. - systemd.extraConfig = "DefaultLimitNOFILE=1048576"; -}