diff --git a/hosts/omega/hardware.nix b/hosts/omega/hardware.nix index b79bd61..832f36c 100644 --- a/hosts/omega/hardware.nix +++ b/hosts/omega/hardware.nix @@ -52,4 +52,7 @@ networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + # nixos-hardware + hardware.amdgpu.amdvlk = true; } diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 318c52f..033460e 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -288,6 +288,7 @@ # xdg portal allows applications secure access to resources outside their # sandbox through a D-Bus interface. In particular, this allows screen # sharing on Wayland via PipeWire and file open/save dialogues in Firefox. + # https://nixos.org/manual/nixos/stable/index.html#sec-wayland # https://wiki.archlinux.org/title/XDG_Desktop_Portal # https://mozilla.github.io/webrtc-landing/gum_test.html services.dbus.enable = true; @@ -299,10 +300,4 @@ xdg-desktop-portal-gtk ]; }; - - # TODO - hardware.opengl = { - enable = true; - extraPackages = with pkgs; [ intel-media-driver ]; - }; }