flake: updates to 24.05

This commit is contained in:
2024-06-17 13:09:58 +02:00
parent 636eb2a8e6
commit 7d90f5f210
15 changed files with 126 additions and 124 deletions
@@ -31,7 +31,7 @@
gcc
gdb
nil
nixfmt
nixfmt-classic
nixpkgs-fmt
cmake
gnumake
+2 -2
View File
@@ -56,9 +56,9 @@
services.printing.enable = true;
config.nix.package = pkgs.nixVersions.latest;
services.xserver.libinput.enable = true;
services.libinput.enable = true;
virtualisation.waydroid.enable = false;
virtualisation.podman = {
@@ -44,8 +44,10 @@ let
systemctl stop windows-share-mount.service
# Make sure nothing renders on gpu to prevent "sysfs: cannot create duplicate filename" after rebinding to amdgpu
chmod 0 /dev/dri/renderD128
fuser -k /dev/dri/renderD128
chmod 0 /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-render
chmod 0 /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-card
fuser -k /dev/dri/by-path/pci-$VIRSH_GPU_VIDEO-render
pkill Xwayland
# Seems to fix reset bug for 7900 XTX
echo "0" > "/sys/bus/pci/devices/''${VIRSH_GPU_VIDEO}/d3cold_allowed"