summaryrefslogtreecommitdiff
path: root/user-profiles/direnv.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 17:55:04 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 17:55:04 +0100
commit5418f17bef2bf97d8cf0f0f080db04534d4f1ce6 (patch)
tree8aad3e830c94c1dc507d0afa7ea80c1de817211f /user-profiles/direnv.nix
parent57431febd78d65b357cf5b11b91b9e6bc1866b50 (diff)
downloadnixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.gz
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.bz2
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.xz
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.zip
gkleen: enable direnv
Diffstat (limited to 'user-profiles/direnv.nix')
-rw-r--r--user-profiles/direnv.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/user-profiles/direnv.nix b/user-profiles/direnv.nix
new file mode 100644
index 00000000..2c1e58d6
--- /dev/null
+++ b/user-profiles/direnv.nix
@@ -0,0 +1,9 @@
1{ userName, ... }:
2{
3 home-manager.users.${userName} = {
4 programs.direnv = {
5 enable = true;
6 enableNixDirenvIntegration = true;
7 };
8 };
9}