Add cron for managing updates
This commit is contained in:
parent
f8463d36bf
commit
0360512507
|
@ -43,7 +43,6 @@
|
||||||
wget vimHugeX curl git htop tmux manpages
|
wget vimHugeX curl git htop tmux manpages
|
||||||
zip unzip
|
zip unzip
|
||||||
tinc_pre
|
tinc_pre
|
||||||
python37
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# SSH config. Change passwordAuthentication if you want to log in with a password.
|
# SSH config. Change passwordAuthentication if you want to log in with a password.
|
||||||
|
|
|
@ -57,7 +57,8 @@ in
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
home = "${inquisiDir}";
|
home = "${inquisiDir}";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
packages = [ inquisitor ];
|
shell = pkgs.bashInteractive;
|
||||||
|
packages = [ inquisitor pkgs.cron ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Give all users the inq wrapper
|
# Give all users the inq wrapper
|
||||||
|
@ -95,4 +96,8 @@ in
|
||||||
443 # https
|
443 # https
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable cron, but don't set up any system cron jobs
|
||||||
|
# Inquisitor updates will be managed manually
|
||||||
|
services.cron.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue