From f6a96c6572c940827b6f8bb705b79e54000872d9 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 25 Jan 2024 22:50:22 -0800 Subject: [PATCH] Include sudo...hrrrm.... --- lemmy-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy-container.nix b/lemmy-container.nix index 1d4f936..aec19fe 100644 --- a/lemmy-container.nix +++ b/lemmy-container.nix @@ -90,7 +90,7 @@ in { requiredBy = [ "lemmy.service" "postgresql.service" ]; before = [ "lemmy.service" ]; after = [ "postgresql.service" ]; - path = with pkgs; [ pwgen config.services.postgresql.package ]; + path = with pkgs; [ sudo pwgen config.services.postgresql.package ]; script = '' PASSWD=$(pwgen 25) mkdir -p /run/lemmy