diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-11-18 11:45:25 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-03-22 21:17:52 +0000 |
commit | 1335d2450f16d5b3edc6dc764d152525ca13cd90 (patch) | |
tree | a33d5cdb6b0ee43bf5e7ff8e9d7d11b554b0d666 /nixos | |
parent | e36854ec3c026b614d4bce8e45bccf076e814ec7 (diff) | |
download | nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar.gz nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar.bz2 nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar.lz nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar.xz nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.tar.zst nixpkgs-1335d2450f16d5b3edc6dc764d152525ca13cd90.zip |
WIP
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/wayland/cage.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/wayland/cage.nix b/nixos/modules/services/wayland/cage.nix index a32b81a916f..15b4e7163f9 100644 --- a/nixos/modules/services/wayland/cage.nix +++ b/nixos/modules/services/wayland/cage.nix @@ -24,7 +24,7 @@ in { }; options.services.cage.program = mkOption { - type = types.path; + type = types.str; default = "${pkgs.xterm}/bin/xterm"; defaultText = literalExpression ''"''${pkgs.xterm}/bin/xterm"''; description = '' @@ -50,6 +50,7 @@ in { wants = [ "dbus.socket" "systemd-logind.service" "plymouth-quit.service"]; wantedBy = [ "graphical.target" ]; conflicts = [ "getty@tty1.service" ]; + environment = { "LIBSEAT_BACKEND" = "logind"; }; restartIfChanged = false; unitConfig.ConditionPathExists = "/dev/tty1"; |