1
1
Fork 0

Add cron for managing updates

This commit is contained in:
Jaculabilis 2020-12-29 22:48:59 -08:00
parent f8463d36bf
commit 0360512507
2 changed files with 6 additions and 2 deletions

View File

@ -43,7 +43,6 @@
wget vimHugeX curl git htop tmux manpages
zip unzip
tinc_pre
python37
];
# SSH config. Change passwordAuthentication if you want to log in with a password.

View File

@ -57,7 +57,8 @@ in
isSystemUser = true;
home = "${inquisiDir}";
createHome = true;
packages = [ inquisitor ];
shell = pkgs.bashInteractive;
packages = [ inquisitor pkgs.cron ];
};
# Give all users the inq wrapper
@ -95,4 +96,8 @@ in
443 # https
];
};
# Enable cron, but don't set up any system cron jobs
# Inquisitor updates will be managed manually
services.cron.enable = true;
}