summary refs log tree commit diff
path: root/nixos/tests/tinywl.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-26 23:21:37 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-01-27 01:45:46 +0100
commitab34ab74ee26b467767d256761b24e49bed37735 (patch)
tree6d5688bdbb4db21f7d703d59654efedf2f25ff7b /nixos/tests/tinywl.nix
parent14563c7dbcce769378ba1b32e0452fb8040c1750 (diff)
downloadnixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar.gz
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar.bz2
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar.lz
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar.xz
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.tar.zst
nixpkgs-ab34ab74ee26b467767d256761b24e49bed37735.zip
nixos/tests/tinywl: enable polkit
Tinywl just segfaults when polkit is missing, probably because it can't
access required resources.
Diffstat (limited to 'nixos/tests/tinywl.nix')
-rw-r--r--nixos/tests/tinywl.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/tinywl.nix b/nixos/tests/tinywl.nix
index b286cab7794..8fb87b53330 100644
--- a/nixos/tests/tinywl.nix
+++ b/nixos/tests/tinywl.nix
@@ -10,6 +10,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
       # Automatically login on tty1 as a normal user:
       imports = [ ./common/user-account.nix ];
       services.getty.autologinUser = "alice";
+      security.polkit.enable = true;
 
       environment = {
         systemPackages = with pkgs; [ tinywl foot wayland-utils ];