summaryrefslogtreecommitdiff
path: root/modules/login.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/login.nix')
-rw-r--r--modules/login.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/login.nix b/modules/login.nix
index 0789cff..c439e52 100644
--- a/modules/login.nix
+++ b/modules/login.nix
@@ -10,8 +10,8 @@
enable = true;
settings = {
default_session = {
- # command = "tuigreet --time --remember --cmd \"startplasma-wayland\"";
- command = "tuigreet --time --remember --cmd \"dwl -s dwlb\"";
+ command = "tuigreet --time --remember --cmd \"startplasma-wayland\"";
+ # command = "tuigreet --time --remember --cmd \"dwl -s dwlb\"";
user = "greeter";
};
};
@@ -36,6 +36,9 @@
security.pam.services.swaylock.text = ''
auth include login
'';
+ security.pam.loginLimits = [
+ { domain = "@users"; item = "rtprio"; type = "-"; value = 1; }
+ ];
services.libinput.enable = true;