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
|
||||
zip unzip
|
||||
tinc_pre
|
||||
python37
|
||||
];
|
||||
|
||||
# SSH config. Change passwordAuthentication if you want to log in with a password.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue