diff options
author | happysalada <raphael@megzari.com> | 2023-04-23 19:53:51 -0400 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2023-04-28 18:58:41 -0400 |
commit | 2909d9b11778ee01908656f63398aa5b9831bc27 (patch) | |
tree | 04776287527522225e9a6932cbe879083fd20703 /nixos | |
parent | 6af56a90ad5ac336eeeb67240b3f4974dec9ed54 (diff) | |
download | nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar.gz nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar.bz2 nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar.lz nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar.xz nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.tar.zst nixpkgs-2909d9b11778ee01908656f63398aa5b9831bc27.zip |
vector: 0.28.1 -> 0.29.1
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/logging/vector.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/nixos/modules/services/logging/vector.nix b/nixos/modules/services/logging/vector.nix index 1803ea85e49..a923373d186 100644 --- a/nixos/modules/services/logging/vector.nix +++ b/nixos/modules/services/logging/vector.nix @@ -26,13 +26,9 @@ in }; config = mkIf cfg.enable { + # for cli usage + environment.systemPackages = [ pkgs.vector ]; - users.groups.vector = { }; - users.users.vector = { - description = "Vector service user"; - group = "vector"; - isSystemUser = true; - }; systemd.services.vector = { description = "Vector event and log aggregator"; wantedBy = [ "multi-user.target" ]; @@ -52,8 +48,7 @@ in in { ExecStart = "${pkgs.vector}/bin/vector --config ${validateConfig conf}"; - User = "vector"; - Group = "vector"; + DynamicUser = true; Restart = "no"; StateDirectory = "vector"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; |