summaryrefslogtreecommitdiff
path: root/modules/xdp.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-09-01 22:59:32 +0530
committersinanmohd <sinan@sinanmohd.com>2023-09-02 09:25:51 +0530
commit06d4452b1d18fd60b0f6adae50992418053f3971 (patch)
treefef36f1b8286730790dbfe2457fcd51c26e7bb81 /modules/xdp.nix
parent444e2a8fb85d61e3768ae7f0ea07f2a79f69b775 (diff)
repo: clean up, rearrange packages
Diffstat (limited to 'modules/xdp.nix')
-rw-r--r--modules/xdp.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/xdp.nix b/modules/xdp.nix
deleted file mode 100644
index a7adfa5..0000000
--- a/modules/xdp.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ pkgs, ... }:
-
-let
- # https://github.com/emersion/xdg-desktop-portal-wlr/wiki/"It-doesn't-work"-Troubleshooting-Checklist
- dbus-xdp-environment = pkgs.writeTextFile {
- name = "dbus-xdp-environment";
- destination = "/bin/dbus-xdp-environment";
- executable = true;
-
- text = ''
- dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots
- systemctl --user stop pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr
- systemctl --user start pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr
- '';
- };
-in
-{
- # pkgs
- environment.systemPackages = [ dbus-xdp-environment ];
-
- # xdg desktop portal
- xdg.portal = {
- enable = true;
- wlr.enable = true;
- extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
- };
-}