diff --git a/hosts/battleship/configuration.nix b/hosts/battleship/configuration.nix index 86d527f..8d119ad 100644 --- a/hosts/battleship/configuration.nix +++ b/hosts/battleship/configuration.nix @@ -24,6 +24,8 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev" ''; + programs.dconf.enable = true; + programs.hyprland.enable = true; /* # TEMPFIX: 2024-05-04 https://github.com/NixOS/nixpkgs/issues/308287#issuecomment-2093091892 @@ -44,11 +46,16 @@ environment.variables = { ROC_ENABLE_PRE_VEGA = "1"; }; - hardware.opengl.extraPackages = with pkgs; [ - rocmPackages.clr.icd - ]; + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + extraPackages = [pkgs.rocmPackages.clr.icd]; + }; programs.steam.enable = true; + programs.steam.wayland = true; + programs.gamemode.enable = true; programs.gnupg.agent = { enable = true; diff --git a/hosts/battleship/packages.nix b/hosts/battleship/packages.nix index 99c445d..8a5e8ba 100644 --- a/hosts/battleship/packages.nix +++ b/hosts/battleship/packages.nix @@ -65,6 +65,9 @@ "md.obsidian.Obsidian" ]; + home.sessionVariables = { + STEAM_EXTRA_COMPACT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d"; + }; nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfreePredicate = _: true; home.packages = with pkgs; [ @@ -82,5 +85,6 @@ latexrun zathura ferdium + protonup ]; }