From 47e01bff985cea0a6c8cff6dc027d50a2c910e34 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 2 Dec 2021 01:35:12 +0000 Subject: [PATCH] Add direnv --- home/default.nix | 4 ++++ home/sway.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index a7552da..4a716a3 100644 --- a/home/default.nix +++ b/home/default.nix @@ -15,6 +15,10 @@ ]; services.syncthing.enable = true; + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; xdg.enable = true; xdg.configFile = { diff --git a/home/sway.nix b/home/sway.nix index fa7a68d..0f7dcd7 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, inputs, ... }: +{ pkgs, lib, config, inputs, ... }: let rustybar = inputs.rustybar.defaultPackage."${pkgs.system}"; cfg = config.wayland.windowManager.sway;