From d304458a6cc6a508205c97fd718d0d6c37726a18 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 27 Jul 2025 21:53:47 +0200 Subject: desktop: Enable xdg portal, fix docker nvidia toolkit --- host/hephaestus.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'host') diff --git a/host/hephaestus.nix b/host/hephaestus.nix index 02a8012..4baa264 100644 --- a/host/hephaestus.nix +++ b/host/hephaestus.nix @@ -43,6 +43,14 @@ programs.niri.enable = true; programs.xwayland.enable = true; + xdg.portal = { + xdgOpenUsePortal = true; + enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gnome + ]; + }; + hardware.nvidia = { open = true; package = pkgs.linuxPackages.nvidia_x11; @@ -51,10 +59,9 @@ hardware.bluetooth.enable = true; services.blueman.enable = true; - virtualisation.docker = { - enable = true; - enableNvidia = true; - }; + hardware.nvidia-container-toolkit.enable = true; + virtualisation.docker.enable = true; + users.users.common.extraGroups = [ "docker" ]; networking.wireguard.interfaces = { -- cgit v1.2.3