From 06010171572dbf3ee3a3440567f5e72509c66888 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Wed, 5 Jun 2024 00:40:26 -0300 Subject: [PATCH] feat: blender --- hosts/battleship/configuration.nix | 6 +++++- hosts/battleship/desktop/default.nix | 1 + hosts/battleship/packages.nix | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/battleship/configuration.nix b/hosts/battleship/configuration.nix index ff0156b..a9e846e 100644 --- a/hosts/battleship/configuration.nix +++ b/hosts/battleship/configuration.nix @@ -52,7 +52,11 @@ enable = true; driSupport = true; driSupport32Bit = true; - extraPackages = [pkgs.rocmPackages.clr.icd]; + extraPackages = with pkgs; [ + libvdpau-va-gl + rocmPackages.clr.icd + vaapiVdpau + ]; }; programs.steam.enable = true; diff --git a/hosts/battleship/desktop/default.nix b/hosts/battleship/desktop/default.nix index b88e4b5..1945072 100644 --- a/hosts/battleship/desktop/default.nix +++ b/hosts/battleship/desktop/default.nix @@ -141,6 +141,7 @@ in { windowrulev2 = [ "float,class:^(org.inkscape.Inkscape)$" "tile,class:^(org.inkscape.Inkscape)$,title:(.*)(- Inkscape)$" + "float,class:^(blender)$,title:^(?!.*\ \-\ Blender).*$" ]; workspace = [ # Primary monitor diff --git a/hosts/battleship/packages.nix b/hosts/battleship/packages.nix index 319acee..55bea28 100644 --- a/hosts/battleship/packages.nix +++ b/hosts/battleship/packages.nix @@ -73,6 +73,7 @@ nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfreePredicate = _: true; home.packages = with pkgs; [ + blender vesktop gimp pureref