From 8e949b0361c99473d06c7a3ccf196c17176f9e07 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 23 Jan 2026 21:32:41 +0100 Subject: [PATCH] Rename module `gc` to `auto-gc` --- hosts/desktop/default.nix | 2 +- hosts/laptop/default.nix | 2 +- hosts/vps-monitor/default.nix | 2 +- hosts/vps-private/default.nix | 2 +- hosts/vps-public/default.nix | 2 +- modules/system/services/{gc.nix => auto-gc.nix} | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) rename modules/system/services/{gc.nix => auto-gc.nix} (85%) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 8a69df1..2627530 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -30,7 +30,7 @@ }; services = { - gc.enable = true; + auto-gc.enable = true; sound.enable = true; nebula.enable = true; sshd.enable = true; diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 8f4acea..9f50aa0 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -31,7 +31,7 @@ services = { resolved.enable = true; - gc.enable = true; + auto-gc.enable = true; wlan.enable = true; bluetooth.enable = true; sound.enable = true; diff --git a/hosts/vps-monitor/default.nix b/hosts/vps-monitor/default.nix index 100c50b..16993b3 100644 --- a/hosts/vps-monitor/default.nix +++ b/hosts/vps-monitor/default.nix @@ -27,7 +27,7 @@ }; services = { - gc = { + auto-gc = { enable = true; onlyCleanRoots = true; }; diff --git a/hosts/vps-private/default.nix b/hosts/vps-private/default.nix index 134b29e..d4ef331 100644 --- a/hosts/vps-private/default.nix +++ b/hosts/vps-private/default.nix @@ -31,7 +31,7 @@ }; services = { - gc = { + auto-gc = { enable = true; onlyCleanRoots = true; }; diff --git a/hosts/vps-public/default.nix b/hosts/vps-public/default.nix index 2729404..b8e1a2c 100644 --- a/hosts/vps-public/default.nix +++ b/hosts/vps-public/default.nix @@ -30,7 +30,7 @@ }; services = { - gc = { + auto-gc = { enable = true; onlyCleanRoots = true; }; diff --git a/modules/system/services/gc.nix b/modules/system/services/auto-gc.nix similarity index 85% rename from modules/system/services/gc.nix rename to modules/system/services/auto-gc.nix index e162053..c6719b6 100644 --- a/modules/system/services/gc.nix +++ b/modules/system/services/auto-gc.nix @@ -1,9 +1,9 @@ { config, lib, ... }: let - cfg = config.custom.services.gc; + cfg = config.custom.services.auto-gc; in { - options.custom.services.gc = { + options.custom.services.auto-gc = { enable = lib.mkEnableOption ""; onlyCleanRoots = lib.mkEnableOption ""; };