Use newer getmail6 over getmail package (#2982)

The `getmail` package will soon be removed from nixpkgs. The
`nixos-unstable` channel already has it removed and using the service
will result in:

    error: getmail has been removed from nixpkgs, migrate to getmail6

Upgrade to the getmail6 package which is already available and backwards
compatible.
This commit is contained in:
Roman Joost 2022-06-05 19:48:58 +10:00 committed by GitHub
parent 684e85d01d
commit a3638db009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ in {
systemd.user.services.getmail = {
Unit = { Description = "getmail email fetcher"; };
Service = { ExecStart = "${pkgs.getmail}/bin/getmail ${configFiles}"; };
Service = { ExecStart = "${pkgs.getmail6}/bin/getmail ${configFiles}"; };
};
systemd.user.timers.getmail = {