Loading nixos/modules/services/monitoring/alloy.nix +10 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,15 @@ in ''; }; environmentFile = lib.mkOption { type = with lib.types; nullOr path; default = null; example = "/run/secrets/alloy.env"; description = '' EnvironmentFile as defined in {manpage}`systemd.exec(5)`. ''; }; extraFlags = lib.mkOption { type = with lib.types; listOf str; default = [ ]; Loading Loading @@ -84,6 +93,7 @@ in StateDirectory = "alloy"; WorkingDirectory = "%S/alloy"; Type = "simple"; EnvironmentFile = lib.mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; }; }; }; Loading Loading
nixos/modules/services/monitoring/alloy.nix +10 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,15 @@ in ''; }; environmentFile = lib.mkOption { type = with lib.types; nullOr path; default = null; example = "/run/secrets/alloy.env"; description = '' EnvironmentFile as defined in {manpage}`systemd.exec(5)`. ''; }; extraFlags = lib.mkOption { type = with lib.types; listOf str; default = [ ]; Loading Loading @@ -84,6 +93,7 @@ in StateDirectory = "alloy"; WorkingDirectory = "%S/alloy"; Type = "simple"; EnvironmentFile = lib.mkIf (cfg.environmentFile != null) [ cfg.environmentFile ]; }; }; }; Loading