This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
20 lines
373 B
Nix
20 lines
373 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
in {
|
|
config = mkIf config.local.profiles.desktop.enable {
|
|
services = {
|
|
# needed for GNOME services outside of GNOME Desktop
|
|
dbus.packages = with pkgs; [
|
|
gnome-settings-daemon
|
|
];
|
|
|
|
gnome.gnome-keyring.enable = true;
|
|
};
|
|
programs.seahorse.enable = true;
|
|
};
|
|
}
|