remove duplication
This commit is contained in:
parent
f647479952
commit
f8be9fab25
1 changed files with 6 additions and 8 deletions
|
@ -7,6 +7,10 @@ let
|
||||||
"--exclude='.config/Element/Cache'"
|
"--exclude='.config/Element/Cache'"
|
||||||
"--exclude='.config/discord/Cache'"
|
"--exclude='.config/discord/Cache'"
|
||||||
];
|
];
|
||||||
|
niceness = {
|
||||||
|
Nice = 19;
|
||||||
|
IOSchedulingClass = "idle";
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -28,12 +32,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.restic-backups-home-to-bolty.serviceConfig = {
|
systemd.services.restic-backups-home-to-bolty.serviceConfig = niceness;
|
||||||
Nice = 19;
|
systemd.services.restic-backups-home-to-b2.serviceConfig = niceness;
|
||||||
IOSchedulingClass = "idle";
|
|
||||||
};
|
|
||||||
systemd.services.restic-backups-home-to-b2.serviceConfig = {
|
|
||||||
Nice = 19;
|
|
||||||
IOSchedulingClass = "idle";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue