nixpkgs/home/services.nix
Daniel Siepmann d9ba963dad
Migrate explicit imports to home manager imports
That way I do not need to explicitly provide dependencies.
But home-manager will pass all the special args.
2024-05-30 14:11:08 +02:00

30 lines
463 B
Nix

{
config
,hostName
,pkgs
,...
}:
{
services = {
dunst = import ./services/dunst.nix {
inherit config;
};
gpg-agent = import ./services/gpg-agent.nix {
inherit pkgs;
};
vdirsyncer = {
enable = true;
frequency = "Mon..Thu *-*-* 15,12,8:00";
};
languagetool.enable = true;
mailhog.enable = true;
} // (if hostName == "hikari" then {
network-manager-applet.enable = true;
} else {
});
}