summaryrefslogtreecommitdiff
path: root/modules/desktop/wayland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/wayland.nix')
-rw-r--r--modules/desktop/wayland.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/desktop/wayland.nix b/modules/desktop/wayland.nix
index d7b9651..9197a4e 100644
--- a/modules/desktop/wayland.nix
+++ b/modules/desktop/wayland.nix
@@ -1,12 +1,18 @@
-{pkgs, lib, config, ...}: {
- options.addons.desktop.wayland.enable = lib.mkEnableOption "Enable wayland" ;
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}:
+{
+ options.addons.desktop.wayland.enable = lib.mkEnableOption "Enable wayland";
config = lib.mkIf config.addons.desktop.wayland.enable {
services.displayManager.sddm.wayland.enable = true;
- xdg.portal = {
+ xdg.portal = {
enable = true;
extraPortals = [
- pkgs.xdg-desktop-portal-gtk
+ pkgs.xdg-desktop-portal-gtk
];
};
};