summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2025-07-27 21:53:47 +0200
committerAdrian Kummerlaender2025-07-27 21:53:47 +0200
commitd304458a6cc6a508205c97fd718d0d6c37726a18 (patch)
tree5a94cbd01ec174fc5c2aff1992f6b943351ec16b /host
parente14bf22975b24597d925bd0e0d75e203f85d472d (diff)
downloadnixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar.gz
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar.bz2
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar.lz
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar.xz
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.tar.zst
nixos_system-d304458a6cc6a508205c97fd718d0d6c37726a18.zip
desktop: Enable xdg portal, fix docker nvidia toolkitwayland
Diffstat (limited to 'host')
-rw-r--r--host/hephaestus.nix15
1 files changed, 11 insertions, 4 deletions
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 = {