Compare commits

...

2 Commits

Author SHA1 Message Date
258761152c amd gpu support 2024-11-04 14:14:59 +01:00
6b56249b3d floating bind 2024-11-04 14:14:59 +01:00
2 changed files with 11 additions and 0 deletions

View File

@ -43,6 +43,7 @@
bindsym Mod4+t split toggle bindsym Mod4+t split toggle
bindsym Mod4+f fullscreen toggle bindsym Mod4+f fullscreen toggle
bindsym Mod4+space floating toggle
set $ws1 "1" set $ws1 "1"
set $ws2 "2" set $ws2 "2"

View File

@ -10,8 +10,18 @@
enable = true; enable = true;
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
extraPackages = [
pkgs.rocmPagkages.clr.icd
];
}; };
# amd gpu
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
# [BOOT] # [BOOT]
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;