From 9bc9b59644585aa2f6c96a1abf50d937b433be83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 4 Apr 2025 09:04:28 +0200 Subject: [PATCH] home-manager/templates: remove restartUnits/reloadUnits this feature is not implemented for the home-manager module. fixes https://github.com/Mic92/sops-nix/issues/729 --- modules/home-manager/templates.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modules/home-manager/templates.nix b/modules/home-manager/templates.nix index 460f274..2a7b391 100644 --- a/modules/home-manager/templates.nix +++ b/modules/home-manager/templates.nix @@ -60,24 +60,6 @@ in File used as the template. When this value is specified, `sops.templates..content` is ignored. ''; }; - restartUnits = lib.mkOption { - type = lib.types.listOf lib.types.str; - default = [ ]; - example = [ "sshd.service" ]; - description = '' - Names of units that should be restarted when the rendered template changes. - This works the same way as . - ''; - }; - reloadUnits = lib.mkOption { - type = lib.types.listOf lib.types.str; - default = [ ]; - example = [ "sshd.service" ]; - description = '' - Names of units that should be reloaded when the rendered template changes. - This works the same way as . - ''; - }; }; } )