summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-17 23:14:55 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-17 23:14:55 +0100
commitcf6d081c29dc7e4549e1a91c5c66dd211119d5ce (patch)
tree4ed8e4a7ef3a3bd86585acb6c13ae9a7b7b42366 /modules
parent0c4fbaf0d94b7de981ef798cedad2fa4ca03caed (diff)
fix types for environment variables
Diffstat (limited to 'modules')
-rw-r--r--modules/environment/default.nix2
-rw-r--r--modules/programs/tmux.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix
index fdc942c..5644264 100644
--- a/modules/environment/default.nix
+++ b/modules/environment/default.nix
@@ -41,7 +41,7 @@ in {
};
environment.profiles = mkOption {
- type = types.listOf types.path;
+ type = types.listOf types.str;
default =
[ # Use user, default and system profiles.
"$HOME/.nix-profile"
diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix
index 9aadfaa..79abeb1 100644
--- a/modules/programs/tmux.nix
+++ b/modules/programs/tmux.nix
@@ -35,7 +35,7 @@ in {
};
programs.tmux.loginShell = mkOption {
- type = types.path;
+ type = types.str;
default = "$SHELL";
description = ''
Configure default login shell.