Daniel Siepmann
d9ba963dad
That way I do not need to explicitly provide dependencies. But home-manager will pass all the special args.
30 lines
463 B
Nix
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 {
|
|
});
|
|
}
|