1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

treewide: format with latest stable formatter

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-07-23 10:00:12 -05:00
parent 56ee5d0670
commit b4752b0eda
56 changed files with 816 additions and 832 deletions

View file

@ -44,9 +44,10 @@ let
Restart = "always";
RestartSec = 30;
Type = "simple";
Environment =
[ "PATH=${cfg.path}" ]
++ lib.optional account.notmuch.enable "NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/default/config";
Environment = [
"PATH=${cfg.path}"
]
++ lib.optional account.notmuch.enable "NOTMUCH_CONFIG=${config.xdg.configHome}/notmuch/default/config";
};
Install = {
@ -64,23 +65,22 @@ let
name = "imapnotify-${name}";
value = {
enable = true;
config =
{
# Use the nix store path for config to ensure service restarts when it changes
ProgramArguments = [
"${lib.getExe cfg.package}"
"-conf"
"${genAccountConfig account}"
];
KeepAlive = true;
ThrottleInterval = 30;
ExitTimeOut = 0;
ProcessType = "Background";
RunAtLoad = true;
}
// optionalAttrs account.notmuch.enable {
EnvironmentVariables.NOTMUCH_CONFIG = "${config.xdg.configHome}/notmuch/default/config";
};
config = {
# Use the nix store path for config to ensure service restarts when it changes
ProgramArguments = [
"${lib.getExe cfg.package}"
"-conf"
"${genAccountConfig account}"
];
KeepAlive = true;
ThrottleInterval = 30;
ExitTimeOut = 0;
ProcessType = "Background";
RunAtLoad = true;
}
// optionalAttrs account.notmuch.enable {
EnvironmentVariables.NOTMUCH_CONFIG = "${config.xdg.configHome}/notmuch/default/config";
};
};
};