summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-11-07 22:47:17 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-11-07 22:47:17 +0100
commit8b8cab4e8131d6bfe4bdf00362d9cee4bd6560d9 (patch)
tree35f201f29ad3e93fbc7b2189250fb53549f682d0 /modules/system
parent81b8a44e400569717385556c17b34eb9d14410c5 (diff)
add programs.tmux.enableFzf option
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/write-text.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/write-text.nix b/modules/system/write-text.nix
index f15fedd..1fc97dd 100644
--- a/modules/system/write-text.nix
+++ b/modules/system/write-text.nix
@@ -22,8 +22,8 @@ in
};
text = mkOption {
- default = null;
- type = types.nullOr types.lines;
+ type = types.lines;
+ default = "";
description = ''
Text of the file.
'';
@@ -50,7 +50,7 @@ in
config = {
- source = mkIf (config.text != null) (mkDefault sourceDrv);
+ source = mkIf (config.text != "") (mkDefault sourceDrv);
};
}