Skip to content

Commit f910879

Browse files
committed
fixup! set db name to service name
1 parent d1392d9 commit f910879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/lndhub-go.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let
5757

5858
configFile = builtins.toFile "lndhub-go-conf" (lib.generators.toKeyValue {} cfg.settings);
5959

60-
dbName = "lndhubgo";
60+
dbName = "lndhub-go";
6161
in {
6262
inherit options;
6363

@@ -75,7 +75,7 @@ in {
7575
ensureUsers = [
7676
{
7777
name = cfg.user;
78-
ensurePermissions."DATABASE ${dbName}" = "ALL PRIVILEGES";
78+
ensurePermissions."DATABASE \"${dbName}\"" = "ALL PRIVILEGES";
7979
}
8080
];
8181
};

0 commit comments

Comments
 (0)