aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/configuration.nix')
-rw-r--r--test/configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/configuration.nix b/test/configuration.nix
index 5724ec4f..62d8239d 100644
--- a/test/configuration.nix
+++ b/test/configuration.nix
@@ -28,6 +28,15 @@
# Automatically login on tty1 as a normal user:
services.getty.autologinUser = "alice";
+ security.pam.loginLimits = [
+ {
+ domain = "@users";
+ item = "rtprio";
+ type = "-";
+ value = 1;
+ }
+ ];
+
environment = {
systemPackages = with pkgs; [
# For D-Bus tests: