common/dconf: move to session.slice

This commit is contained in:
2025-05-27 12:05:58 +02:00
parent b97efab47f
commit 18e37aa599
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -6,6 +6,7 @@ in {
./fonts.nix
./nix.nix
./programs/dconf.nix
./programs/gnupg.nix
./programs/neovim.nix
./programs/nix-ld.nix
+9
View File
@@ -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";
}
-1
View File
@@ -5,7 +5,6 @@
implementation = "broker";
packages = with pkgs; [
gcr
dconf
];
};
}