From 1ebd745dbbc412afe64becdfa896ed7b76ba1a36 Mon Sep 17 00:00:00 2001 From: Sokhibjon Orzikulov Date: Sun, 3 Nov 2024 04:56:42 +0500 Subject: [PATCH] fix: set manually the user --- nixos/kolyma-3/services/misskey.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/kolyma-3/services/misskey.nix b/nixos/kolyma-3/services/misskey.nix index 0ad52bc..b838943 100644 --- a/nixos/kolyma-3/services/misskey.nix +++ b/nixos/kolyma-3/services/misskey.nix @@ -1,7 +1,7 @@ { inputs, config, pkgs, ... }: let secret-management = { - owner = "misskey"; # config.users.users.misskey.name; + owner = config.users.users.misskey.name; }; in { @@ -15,6 +15,13 @@ in "misskey/meilisearch/password" = secret-management; }; + users.users."misskey" = { + description = "Misskey daemon user"; + group = "misskey"; + }; + + users.groups."misskey" = { }; + services.misskey = { enable = true; package = pkgs.unstable.misskey;