mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
flake: updates to 24.05
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
gcc
|
||||
gdb
|
||||
nil
|
||||
nixfmt
|
||||
nixfmt-classic
|
||||
nixpkgs-fmt
|
||||
cmake
|
||||
gnumake
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user