summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-01 23:56:20 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-01 23:56:20 +0100
commitfecd4bc368de258158fa71edd9bf0645fb457dbb (patch)
treed9248951ae510b49d235513950ad146847a7bcd1 /modules/system
parentd82c472ab00f69e17423c7c97bbdec11d87eadd0 (diff)
improve launchd activation scripts
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/write-text.nix11
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.
'';
};