style: avoid toplevel 'with lib;' to avoid scoping issues
Some checks failed
Flake checks / Check (pull_request) Failing after 21s
Some checks failed
Flake checks / Check (pull_request) Failing after 21s
This commit is contained in:
parent
c0f59c2520
commit
5556f65609
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue