diff options
author | tzlil <tzlils@protonmail.com> | 2023-03-12 21:23:01 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-03-12 21:23:01 +0200 |
commit | e94d2c69ff5ae50cc7a5ddc2598d7caef68e406f (patch) | |
tree | 205fd97e03d9bd446401446bf0fec9552ed7d7da /hosts/vm | |
parent | 39eb0b807403c7745c2edc6024e0e713155662bc (diff) |
bad commit
Diffstat (limited to 'hosts/vm')
-rw-r--r-- | hosts/vm/cfg.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix index 5ceba52..8c56336 100644 --- a/hosts/vm/cfg.nix +++ b/hosts/vm/cfg.nix @@ -81,6 +81,13 @@ algorithm = "zstd"; }; - greeter.initialSession = "env WLR_RENDERER=pixman sh -c ${pkgs.sway}/bin/sway"; + greeter.initialSession = "sh -c ${pkgs.sway}/bin/sway"; + + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ]; + driSupport = true; + driSupport32Bit = true; + }; }; } |