From c88d7f42cb144fc7e58f663dff4d8e9258691d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 31 Oct 2021 19:50:07 +0100 Subject: [PATCH] nixos/plasma5: fix accounts-daemon can't read profile image from systemsettings5 --- nixos/modules/services/x11/desktop-managers/plasma5.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 58b289c9f049..52b641e23bdc 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -359,6 +359,8 @@ in # Enable helpful DBus services. services.accounts-daemon.enable = true; + # when changing an account picture the accounts-daemon reads a temporary file containing the image which systemsettings5 may place under /tmp + systemd.services.accounts-daemon.serviceConfig.PrivateTmp = false; services.udisks2.enable = true; services.upower.enable = config.powerManagement.enable; services.system-config-printer.enable = mkIf config.services.printing.enable (mkDefault true);