summaryrefslogtreecommitdiff
path: root/modules/nixos/sway.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-10-03 15:07:37 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2023-10-03 15:07:37 -0600
commit74d1b517e927e7af2646a711f8effc36b893471b (patch)
treecfde227ad7ba7e228c70479f5ecbed3ca345dc76 /modules/nixos/sway.nix
parentff89565a5322bb998ce7ad5b2da5549e6fe02b8a (diff)
starting to bring definitions back into purpose-specific locations, rather than type-specific
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";