Skip to content
Snippets Groups Projects
Commit 9a5c4e7d authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

remove extra indentation and let

parent e584fcc1
No related branches found
No related tags found
1 merge request!10End-to-end with ristretto
......@@ -3,6 +3,7 @@
{ lib, pkgs, config, ... }: let
pspkgs = pkgs.callPackage ./pspkgs.nix { };
zkapissuer = pspkgs.callPackage ../pkgs/zkapissuer.nix { };
cfg = config.services.private-storage-issuer;
in {
options = {
services.private-storage-issuer.enable = lib.mkEnableOption "PrivateStorage ZKAP Issuer Service";
......@@ -33,10 +34,7 @@ in {
};
};
config = let
cfg = config.services.private-storage-issuer;
in
lib.mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.zkapissuer = {
enable = true;
description = "ZKAP Issuer";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment