mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Do some minor refactoring
This commit is contained in:
parent
ea509959ff
commit
472d0eea96
9 changed files with 29 additions and 21 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue