Anthony Rodriguez
2b77ac239e
Moved every service in their own module, and conditionally enable them based on profiles.
19 lines
341 B
Nix
19 lines
341 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.local.profiles.desktop.enable {
|
|
services = {
|
|
# needed for GNOME services outside of GNOME Desktop
|
|
dbus.packages = with pkgs; [
|
|
gcr
|
|
gnome-settings-daemon
|
|
];
|
|
|
|
gnome.gnome-keyring.enable = true;
|
|
gvfs.enable = true;
|
|
};
|
|
};
|
|
}
|