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