mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 14:19:08 +01:00
Improve wording in messages
This commit is contained in:
parent
e69e9c8491
commit
e2f312b2c5
9 changed files with 31 additions and 27 deletions
|
|
@ -11,8 +11,11 @@
|
|||
|
||||
genAttrs = f: names: lib.genAttrs names f;
|
||||
|
||||
mkInvalidConfigMessage = subject: reason: "Invalid configuration for ${subject}: ${reason}.";
|
||||
|
||||
mkUnprotectedMessage =
|
||||
name: "${name} should only be exposed on private networks; access control isn't yet configured";
|
||||
name:
|
||||
self.lib.mkInvalidConfigMessage name "the service must use a private domain until access control is configured";
|
||||
|
||||
relativePath = path: path |> toString |> lib.removePrefix "${self}/";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue