mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Only check domain and port uniqueness on servers
This commit is contained in:
parent
9a591d927a
commit
44520b3cd2
5 changed files with 17 additions and 6 deletions
|
|
@ -21,9 +21,7 @@ in
|
|||
|> lib.concatLists;
|
||||
readOnly = true;
|
||||
};
|
||||
assertUnique = lib.mkEnableOption "" // {
|
||||
default = true;
|
||||
};
|
||||
assertUnique = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.assertUnique {
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ in
|
|||
type = lib.types.listOf lib.types.port;
|
||||
default = [ ];
|
||||
};
|
||||
assertUnique = lib.mkEnableOption "" // {
|
||||
default = true;
|
||||
};
|
||||
assertUnique = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.assertUnique {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue