From 2295504252272605189c968d977644f04afa3355 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 29 Aug 2023 12:42:16 +0530 Subject: modules/seatd: init --- modules/wayland.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules/wayland.nix') diff --git a/modules/wayland.nix b/modules/wayland.nix index a06834c..4ae34e1 100644 --- a/modules/wayland.nix +++ b/modules/wayland.nix @@ -1,6 +1,8 @@ { pkgs, ... }: { + imports = [ ./seatd.nix ]; + # pkgs environment.systemPackages = with pkgs; [ dwl-sinan @@ -47,9 +49,11 @@ }; # misc - hardware.opengl.enable = true; + services = { + seatd.enable = true; + dbus.enable = true; + }; - services.dbus.enable = true; programs = { xwayland.enable = true; gnupg.agent = { @@ -66,8 +70,6 @@ }; }; - security = { - polkit.enable = true; - pam.services.swaylock.text = "auth include login"; - }; + security.pam.services.swaylock.text = "auth include login"; + hardware.opengl.enable = true; } -- cgit v1.2.3