git: setup maintanence only for main machine
This commit is contained in:
parent
6df8e97d5e
commit
ce6c0b6e1a
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ topLevel: {
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -65,7 +66,7 @@ topLevel: {
|
|||
};
|
||||
};
|
||||
|
||||
systemd.user = {
|
||||
systemd.user = lib.mkIf (osConfig.networking.hostName == "yggdrasil") {
|
||||
services."git-maintenance@" = {
|
||||
Unit = {
|
||||
Description = "Optimize Git repositories data";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue