summaryrefslogtreecommitdiff
path: root/modules/nixos/sway.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/sway.nix')
-rw-r--r--modules/nixos/sway.nix26
1 files changed, 14 insertions, 12 deletions
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";