1
0
Fork 0

Fix kassandra without secrets

This commit is contained in:
Malte Brandy 2021-05-01 02:26:42 +02:00
parent 5dc49dd2e7
commit 3afc1262c6
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -3,7 +3,7 @@
mkdir $out
${pkgs.kassandra2}/bin/kassandra2 print-types > $out/types.dhall
ln -s ${./kassandra}/{config,backend}.dhall $out
ln -s ${../../private/kassandra-uiConfig.dhall} $out/uiConfig.dhall
ln -s ${pkgs.privateFile "kassandra-uiConfig.dhall"} $out/uiConfig.dhall
'';
backend = pkgs.dhallPackages.buildDhallPackage {
name = "kassandra-backend-config";
@ -25,10 +25,10 @@
'';
in
{
home.file = {
home.file = if pkgs.withSecrets then {
"kassandra-config" = {
target = ".config/kassandra";
source = dhallResult.out;
};
};
} else {};
}