common/gnome-keyring: move to session.slice
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.services.gnome.gnome-keyring;
|
||||
in
|
||||
{
|
||||
services.gnome.gnome-keyring.enable = !config.machineVars.headless;
|
||||
|
||||
systemd.user.services.gnome-keyring.serviceConfig.Slice = lib.mkIf cfg.enable "session.slice";
|
||||
}
|
||||
Reference in New Issue
Block a user