summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-04 20:23:45 +0200
committersils <sils@sils.li>2023-05-04 20:23:45 +0200
commit489873349fe655a5a430fba116611c8877c08b90 (patch)
treed65d37218ce87b0cbee24797e1c3ee9c091e5b88
parentStructure(sys,users): Move userpackages to user (diff)
downloadnix-config-489873349fe655a5a430fba116611c8877c08b90.tar.gz
nix-config-489873349fe655a5a430fba116611c8877c08b90.zip
Feat(users/sils): Add direnv
Diffstat (limited to '')
-rw-r--r--users/sils/default.nix7
-rw-r--r--users/sils/direnv/default.nix6
2 files changed, 8 insertions, 5 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix
index e4dc5c2..786c216 100644
--- a/users/sils/default.nix
+++ b/users/sils/default.nix
@@ -1,12 +1,9 @@
-{
-  pkgs,
-  system,
-  ...
-}: {
+{...}: {
   imports = [
     ./packages
     ./gpg
     ./git
+    ./direnv
   ];
 
   home = {
diff --git a/users/sils/direnv/default.nix b/users/sils/direnv/default.nix
new file mode 100644
index 0000000..3a7b8ad
--- /dev/null
+++ b/users/sils/direnv/default.nix
@@ -0,0 +1,6 @@
+{...}: {
+  programs.direnv = {
+    enable = true;
+    nix-direnv.enable = true;
+  };
+}