diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
| commit | 892de67a9f64d0b0cdb023d830a019d8feec0a57 (patch) | |
| tree | 0c5fd0c60ef93bb5cdc5f83c8cade0c5dddb4899 /modules/desktop/wayland.nix | |
| parent | f5b37610b3835ea26757ef36d554ec598d53100c (diff) | |
Nix fmt
Diffstat (limited to 'modules/desktop/wayland.nix')
| -rw-r--r-- | modules/desktop/wayland.nix | 14 |
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 ]; }; }; |
