diff --git a/gen.jsonnet b/gen.jsonnet index f512000cf66365fcd3a5ffce2a36ccbc9d667680..35224cefee0a8249585c992887de628f31f7717f 100644 --- a/gen.jsonnet +++ b/gen.jsonnet @@ -29,8 +29,6 @@ { name: 'verbose', description: 'Log verbosely', name: 'cfg-playground', - description: 'Playground for cfg', - name: 'cfg-playground', homepage: 'https://git.jolheiser.com/cfg-playground', }, ], diff --git a/nix/module.nix b/nix/module.nix index 534b01fb23485f65cefa75e51cfb270faaf22a5f..54473dbb35a68c4f76a1abc6b051aa784fdacfd3 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -42,8 +42,6 @@ }; verbose = mkOption { type = types.bool; lib, - ... - lib, }: }; @@ -80,10 +78,11 @@ args = [ "--hostname=${cfg.hostname}" "--data-dir=${cfg.data-dir}" "--auth-key=${cfg.auth-key}" - (lib.optionalString cfg.verbose "--verbose") + "--verbose=${cfg.verbose}" + ]; in - "${cfg.package}/bin/cfg-playground ${builtins.concatStringsSep " " args}"; + "${cfg.package}/bin/cfg-playgroundd ${builtins.concatStringsSep " " args}"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; path = [ cfg.package ];