diff --git a/README.md b/README.md index 51dae82..95d6aea 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,6 @@ To enable automatic updates for a host, set `aux.system.services.autoUpgrade = t aux.system.services.autoUpgrade = { enable = true; configDir = config.secrets.nixConfigFolder; - extraFlags = "--build-host hevana"; onCalendar = "daily"; user = config.users.users.aires.name; }; diff --git a/hosts/Hevana/default.nix b/hosts/Hevana/default.nix index 5d632b6..545881b 100644 --- a/hosts/Hevana/default.nix +++ b/hosts/Hevana/default.nix @@ -44,32 +44,6 @@ in # To see all available timezones, run `timedatectl list-timezones`. time.timeZone = "America/New_York"; - # Build Nix packages for other hosts. - # Runs every day at 4 AM - systemd = { - services."build-hosts" = { - serviceConfig = { - Type = "oneshot"; - User = "root"; - }; - path = config.aux.system.corePackages; - script = '' - cd ${config.secrets.nixConfigFolder} - nixos-rebuild build --flake .#Khanda - ''; - }; - timers."build-hosts" = { - wants = [ "network-online.target" ]; - after = [ "network-online.target" ]; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "04:00"; - Persistent = true; - Unit = "build-hosts.service"; - }; - }; - }; - # Configure the system. aux.system = { # Enable to allow unfree (e.g. closed source) packages. diff --git a/hosts/Khanda/default.nix b/hosts/Khanda/default.nix index a6e0c3c..5f72077 100644 --- a/hosts/Khanda/default.nix +++ b/hosts/Khanda/default.nix @@ -50,7 +50,6 @@ in services = { autoUpgrade = { enable = true; - extraFlags = "--build-host hevana"; configDir = config.secrets.nixConfigFolder; onCalendar = "weekly"; user = config.users.users.aires.name;