From 03605125073da90f9e314599ed3e239e2f97ac60 Mon Sep 17 00:00:00 2001 From: Jaculabilis Date: Tue, 29 Dec 2020 22:48:59 -0800 Subject: [PATCH] Add cron for managing updates --- configuration.nix | 1 - inquisitor.nix | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 9d61550..05b8775 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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. diff --git a/inquisitor.nix b/inquisitor.nix index 570dac7..3d3c377 100644 --- a/inquisitor.nix +++ b/inquisitor.nix @@ -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; }