accountsservice: fix a bug

This commit is contained in:
Mitsuhiro Nakamura 2018-08-16 17:48:35 +09:00
parent 34c7d06db8
commit 7952b51461

@ -36,11 +36,11 @@ with lib;
systemd.packages = [ pkgs.accountsservice ]; systemd.packages = [ pkgs.accountsservice ];
systemd.services.accounts-daemon= { systemd.services.accounts-daemon = {
wantedBy = [ "graphical.target" ]; wantedBy = [ "graphical.target" ];
} // (mkIf (!config.users.mutableUsers) { } // (optionalAttrs (!config.users.mutableUsers) {
environment.NIXOS_USERS_PURE = "true"; environment.NIXOS_USERS_PURE = "true";
}); });
}; };