diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-01 23:56:20 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-01 23:56:20 +0100 |
| commit | fecd4bc368de258158fa71edd9bf0645fb457dbb (patch) | |
| tree | d9248951ae510b49d235513950ad146847a7bcd1 /modules/system | |
| parent | d82c472ab00f69e17423c7c97bbdec11d87eadd0 (diff) | |
improve launchd activation scripts
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/write-text.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/system/write-text.nix b/modules/system/write-text.nix index 1fc97dd..4ffc081 100644 --- a/modules/system/write-text.nix +++ b/modules/system/write-text.nix @@ -1,8 +1,9 @@ { lib, mkTextDerivation }: +{ config, name, ... }: + with lib; -{ config, name, ... }: let sourceDrv = mkTextDerivation name config.text; @@ -16,8 +17,8 @@ in type = types.bool; default = true; description = '' - Whether this /etc file should be generated. This - option allows specific /etc files to be disabled. + Whether this file should be generated. + This option allows specific files to be disabled. ''; }; @@ -33,9 +34,7 @@ in type = types.str; default = name; description = '' - Name of symlink (relative to - <filename>/etc</filename>). Defaults to the attribute - name. + Name of symlink. Defaults to the attribute name. ''; }; |
