Do some minor refactoring

This commit is contained in:
SebastianStork 2025-07-27 20:23:43 +02:00
parent ea509959ff
commit 472d0eea96
9 changed files with 29 additions and 21 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
let
resticBackups = lib.filterAttrs (_: value: value.enable) config.custom.services.resticBackups;
resticBackups = config.custom.services.resticBackups |> lib.filterAttrs (_: value: value.enable);
in
{
options.custom.services.resticBackups = lib.mkOption {