From d7eec2970b2100a4a29607630061d56c8aee6899 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Thu, 4 Jun 2026 12:14:38 +0100 Subject: [PATCH] unity fixes --- config/hosts/aspects/doloro-desktop/home.nix | 10 ++---- config/hosts/aspects/doloro-shared.nix | 38 ++++++++++---------- config/modules/hyprland/doloro-settings.nix | 1 + config/modules/unity.nix | 2 +- 4 files changed, 23 insertions(+), 28 deletions(-) diff --git a/config/hosts/aspects/doloro-desktop/home.nix b/config/hosts/aspects/doloro-desktop/home.nix index 12717f5..953489d 100644 --- a/config/hosts/aspects/doloro-desktop/home.nix +++ b/config/hosts/aspects/doloro-desktop/home.nix @@ -81,17 +81,11 @@ # pear-desktop prismlauncher # deadlock-mod-manager - (inputs.nik-pkgs.packages.x86_64-linux.grimorie.overrideAttrs (final: prev: { - pnpmDeps = pnpm.fetchDeps { - pname = "grimoire"; - inherit (prev) version src; - fetcherVersion = 3; - hash = "sha256-aSjELhEyEbQ7qT8fI5VfIDOHrsgHHL18Dsphm6sA8J4="; - }; - })) + inputs.nik-pkgs.packages.x86_64-linux.grimorie gamescope android-studio blender + bottles ]; programs.lutris.enable = true; nixpkgs.overlays = [ diff --git a/config/hosts/aspects/doloro-shared.nix b/config/hosts/aspects/doloro-shared.nix index f4ecf29..60083ed 100644 --- a/config/hosts/aspects/doloro-shared.nix +++ b/config/hosts/aspects/doloro-shared.nix @@ -3,8 +3,7 @@ modules, __findFile, ... -}: -{ +}: { den.aspects.doloro-shared = { includes = [ modules.nixvim @@ -14,23 +13,24 @@ modules.hyfetch modules.ssh ]; - homeManager = - { pkgs, lib, ... }: - { - home = { - username = "doloro"; - homeDirectory = "/home/doloro"; - packages = with pkgs; [ - wl-clipboard - # home-manager - btop - ]; - }; - programs.home-manager.enable = true; - }; - nixos = - { lib, ... }: - { + homeManager = { + pkgs, + lib, + ... + }: { + home = { + username = "doloro"; + homeDirectory = "/home/doloro"; + packages = with pkgs; [ + wl-clipboard + # home-manager + btop + pavucontrol + ]; }; + programs.home-manager.enable = true; + }; + nixos = {lib, ...}: { + }; }; } diff --git a/config/modules/hyprland/doloro-settings.nix b/config/modules/hyprland/doloro-settings.nix index d985018..07763e5 100644 --- a/config/modules/hyprland/doloro-settings.nix +++ b/config/modules/hyprland/doloro-settings.nix @@ -180,6 +180,7 @@ "match:class .*, suppress_event maximize" "match:class ^(gamescope)$, workspace 5" "match:class ^(gamescope)$, immediate true" + "match:class ^(gamescope)$, confine_pointer true" "match:class ^(steam)$, workspace 6 silent" "match:class ^(vesktop)$, workspace 8 silent" "match:class ^(org.telegram.desktop)$, workspace 8 silent" diff --git a/config/modules/unity.nix b/config/modules/unity.nix index 10db2cd..18d8fd5 100644 --- a/config/modules/unity.nix +++ b/config/modules/unity.nix @@ -1,7 +1,7 @@ {modules, ...}: { modules.unity = { homeManager = {pkgs, ...}: { - home.packages = [pkgs.unityhub pkgs.alcom]; + home.packages = [pkgs.unityhub pkgs.alcom pkgs.unityhub.fhsEnv]; home.file."unityExec" = { source = "${pkgs.unityhub}/bin/unityhub"; recursive = true;