Skip to content

Commit

Permalink
Fix nixos module options
Browse files Browse the repository at this point in the history
  • Loading branch information
eikek committed Feb 10, 2024
1 parent 12e36d1 commit 0a19edc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ in {
}
{
when = cfg.include-filter != null;
opt = "--matches" "'${toString cfg.include-filter}'";
opt = [ "--matches" "'${toString cfg.include-filter}'" ];
}
{
when = cfg.exclude-filter != null;
opt = "--not-matches" "'${toString cfg.exclude-filter}'";
opt = [ "--not-matches" "'${toString cfg.exclude-filter}'" ];
}
{
when = cfg.source-id != null;
opt = "--source" "'${cfg.source-id}'";
opt = [ "--source" "'${cfg.source-id}'" ];
}
];

Expand Down

0 comments on commit 0a19edc

Please sign in to comment.