diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-07-06 13:05:37 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-07-06 13:10:19 +0000 |
commit | ee2788bb51190a20eee89f0e9b0c326f3aac3e77 (patch) | |
tree | a70f2345811d48e3e962a7bcf9f687f651379e28 /modules/workstation/mail/notmuch | |
parent | bf7ddcbd0fc49e625332bc4634eb697b1092883b (diff) | |
download | nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar.gz nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar.bz2 nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar.lz nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar.xz nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.tar.zst nixlib-ee2788bb51190a20eee89f0e9b0c326f3aac3e77.zip |
modules/notmuch: reduce indexing process priority
Diffstat (limited to 'modules/workstation/mail/notmuch')
-rw-r--r-- | modules/workstation/mail/notmuch/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/workstation/mail/notmuch/default.nix b/modules/workstation/mail/notmuch/default.nix index 418a4b5ff666..cb7ccd877950 100644 --- a/modules/workstation/mail/notmuch/default.nix +++ b/modules/workstation/mail/notmuch/default.nix @@ -14,6 +14,8 @@ serviceConfig.Type = "oneshot"; environment.NOTMUCH_CONFIG = "/etc/xdg/nixos/per-user/qyliss/notmuch/config"; serviceConfig.ExecStart = "${pkgs.notmuch}/bin/notmuch new"; + serviceConfig.IOSchedulingClass = "idle"; + serviceConfig.Nice = 1; serviceConfig.User = "qyliss"; }; } |