From 74d1b517e927e7af2646a711f8effc36b893471b Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Tue, 3 Oct 2023 15:07:37 -0600 Subject: starting to bring definitions back into purpose-specific locations, rather than type-specific --- modules/nixos/sway.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'modules/nixos/sway.nix') diff --git a/modules/nixos/sway.nix b/modules/nixos/sway.nix index 8d4d664..f2f616c 100644 --- a/modules/nixos/sway.nix +++ b/modules/nixos/sway.nix @@ -3,18 +3,18 @@ environment.systemPackages = with pkgs; [ ]; - # xdg-desktop-portal works by exposing a series of D-Bus interfaces - # known as portals under a well-known name - # (org.freedesktop.portal.Desktop) and object path - # (/org/freedesktop/portal/desktop). - # The portal interfaces include APIs for file access, opening URIs, - # printing and others. - xdg.portal = { - enable = true; - wlr.enable = true; - # gtk portal needed to make gtk apps happy - extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - }; + # xdg-desktop-portal works by exposing a series of D-Bus interfaces + # known as portals under a well-known name + # (org.freedesktop.portal.Desktop) and object path + # (/org/freedesktop/portal/desktop). + # The portal interfaces include APIs for file access, opening URIs, + # printing and others. + xdg.portal = { + enable = true; + wlr.enable = true; + # gtk portal needed to make gtk apps happy + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + }; # enable sway window manager programs.sway = { @@ -22,6 +22,8 @@ wrapperFeatures.gtk = true; }; + services.dbus.enable = true; + # kanshi systemd service systemd.user.services.kanshi = { description = "kanshi daemon"; -- cgit v1.2.3