common/dconf: move to session.slice
This commit is contained in:
@@ -6,6 +6,7 @@ in {
|
||||
./fonts.nix
|
||||
./nix.nix
|
||||
|
||||
./programs/dconf.nix
|
||||
./programs/gnupg.nix
|
||||
./programs/neovim.nix
|
||||
./programs/nix-ld.nix
|
||||
|
9
hosts/common/programs/dconf.nix
Normal file
9
hosts/common/programs/dconf.nix
Normal 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";
|
||||
}
|
@@ -5,7 +5,6 @@
|
||||
implementation = "broker";
|
||||
packages = with pkgs; [
|
||||
gcr
|
||||
dconf
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user