nixpkgs/home/services.nix
Daniel Siepmann 4a6b4b8f1c
Migrate hostname detection
Define it as variable instead of function.
Pass variable and do individual checks instead of function call.
2024-05-29 16:32:07 +02:00

29 lines
408 B
Nix

{
config
,hostName
,pkgs
}:
{
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 {
})