Skip to content

Commit

Permalink
fix: set manually the user
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Nov 2, 2024
1 parent 2449ba8 commit 1ebd745
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nixos/kolyma-3/services/misskey.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ inputs, config, pkgs, ... }:
let
secret-management = {
owner = "misskey"; # config.users.users.misskey.name;
owner = config.users.users.misskey.name;
};
in
{
Expand All @@ -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;
Expand Down

0 comments on commit 1ebd745

Please sign in to comment.