Skip to content

Commit 602696c

Browse files
committed
fix: eww and amd-gpu due to nixpkgs update
1 parent a3ede09 commit 602696c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/programs/eww/config/scripts/active-workspace.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module-functions.module "programs" "eww" {
1313
1414
hyprctl monitors -j | ${pkgs.jq}/bin/jq '.[] | select(.focused) | .activeWorkspace.id'
1515
16-
${pkgs.socat}/bin/socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
16+
${pkgs.socat}/bin/socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
1717
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
1818
''
1919
else "";

modules/programs/eww/config/scripts/workspaces.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module-functions.module "programs" "eww" {
1717
}
1818
1919
spaces
20-
${pkgs.socat}/bin/socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
20+
${pkgs.socat}/bin/socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
2121
spaces
2222
done
2323
''

modules/system/amd-gpu.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ module-functions.module "system" "amd-gpu" {
99
systemd.tmpfiles.rules = [
1010
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
1111
];
12-
hardware.opengl = {
13-
driSupport = true;
14-
driSupport32Bit = true;
12+
hardware.graphics = {
13+
enable = true;
14+
enable32Bit = true;
1515
extraPackages = with pkgs; [
1616
amdvlk
1717
rocmPackages.clr.icd

0 commit comments

Comments
 (0)