mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Use lib.singleton when convenient
This commit is contained in:
parent
dd3c11d88b
commit
464b6a7850
6 changed files with 34 additions and 46 deletions
|
|
@ -23,12 +23,10 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = lib'.isTailscaleDomain cfg.domain;
|
||||
message = "FreshRSS isn't configured with access controll.";
|
||||
}
|
||||
];
|
||||
assertions = lib.singleton {
|
||||
assertion = lib'.isTailscaleDomain cfg.domain;
|
||||
message = "FreshRSS isn't configured with access controll.";
|
||||
};
|
||||
|
||||
meta = {
|
||||
domains.list = [ cfg.domain ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue