style: avoid toplevel 'with lib;' to avoid scoping issues
Some checks failed
Flake checks / Check (pull_request) Failing after 21s

This commit is contained in:
teutat3s 2024-08-26 20:06:22 +02:00
parent c0f59c2520
commit 5556f65609
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -13,6 +13,7 @@ let
}; };
# Type for a valid systemd unit option. Needed for correctly passing "timerConfig" to "systemd.timers" # Type for a valid systemd unit option. Needed for correctly passing "timerConfig" to "systemd.timers"
inherit (utils.systemdUtils.unitOptions) unitOption; inherit (utils.systemdUtils.unitOptions) unitOption;
inherit (lib) literalExpression mkOption mkPackageOption types;
in in
{ {
options.pub-solar-os.backups = { options.pub-solar-os.backups = {
@ -57,7 +58,6 @@ in
}; };
backups = backups =
with lib;
mkOption { mkOption {
description = '' description = ''
Periodic backups to create with Restic. Periodic backups to create with Restic.