From ecb4734faf8cba750f75a60934296819583e997a Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 12 Jan 2026 09:58:47 +0100 Subject: [PATCH] nit: run linter after update --- docs/default.nix | 2 +- modules/blocks/borgbackup.nix | 2 +- modules/blocks/mitmdump.nix | 2 +- modules/blocks/restic.nix | 2 +- modules/services/firefly-iii.nix | 2 +- test/common.nix | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/default.nix b/docs/default.nix index 7b84b36..b01ebd1 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -124,7 +124,7 @@ let outputPath = "share/doc/selfhostblocks"; - manpage-urls = pkgs.writeText "manpage-urls.json" ''{}''; + manpage-urls = pkgs.writeText "manpage-urls.json" "{}"; in stdenv.mkDerivation { name = "self-host-blocks-manual"; diff --git a/modules/blocks/borgbackup.nix b/modules/blocks/borgbackup.nix index 55c687b..087e425 100644 --- a/modules/blocks/borgbackup.nix +++ b/modules/blocks/borgbackup.nix @@ -98,7 +98,7 @@ let OnCalendar = "daily"; Persistent = true; }; - description = ''When to run the backup. See {manpage}`systemd.timer(5)` for details.''; + description = "When to run the backup. See {manpage}`systemd.timer(5)` for details."; example = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; diff --git a/modules/blocks/mitmdump.nix b/modules/blocks/mitmdump.nix index 93c8bfe..8b96662 100644 --- a/modules/blocks/mitmdump.nix +++ b/modules/blocks/mitmdump.nix @@ -239,7 +239,7 @@ in description = '' Addons to enable on this mitmdump instance. ''; - example = lib.literalExpression ''[ config.shb.mitmdump.addons.logger ]''; + example = lib.literalExpression "[ config.shb.mitmdump.addons.logger ]"; }; extraArgs = mkOption { diff --git a/modules/blocks/restic.nix b/modules/blocks/restic.nix index d1b2e9b..e508816 100644 --- a/modules/blocks/restic.nix +++ b/modules/blocks/restic.nix @@ -102,7 +102,7 @@ let OnCalendar = "daily"; Persistent = true; }; - description = ''When to run the backup. See {manpage}`systemd.timer(5)` for details.''; + description = "When to run the backup. See {manpage}`systemd.timer(5)` for details."; example = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; diff --git a/modules/services/firefly-iii.nix b/modules/services/firefly-iii.nix index 9234841..45a1122 100644 --- a/modules/services/firefly-iii.nix +++ b/modules/services/firefly-iii.nix @@ -271,7 +271,7 @@ in Subdomain under which the firefly-iii data importer will be served. ''; default = "${cfg.subdomain}-importer"; - defaultText = lib.literalExpression ''''${shb.firefly-iii.subdomain}-importer''; + defaultText = lib.literalExpression "\${shb.firefly-iii.subdomain}-importer"; }; firefly-iii-accessToken = lib.mkOption { diff --git a/test/common.nix b/test/common.nix index bc356d1..90ef5fd 100644 --- a/test/common.nix +++ b/test/common.nix @@ -78,7 +78,7 @@ let ++ (lib.optionals autheliaEnabled [ "authelia-auth.${cfg.domain}.service" ]) ++ (lib.optionals lldapEnabled [ "lldap.service" ]) ) - + lib.strings.concatMapStrings (p: ''server.wait_for_open_port(${toString p})'' + "\n") ( + + lib.strings.concatMapStrings (p: "server.wait_for_open_port(${toString p})" + "\n") ( waitForPorts args # TODO: when the SSO block exists, replace this hardcoded port. ++ (lib.optionals autheliaEnabled [