From e2d025f447c2a302c3bd141a6d2417775f38424f Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 19 Sep 2024 21:19:53 -0300 Subject: [PATCH] fix(direnv): move specific config to desktop --- .../home-manager/programs/direnv/default.nix | 11 ---------- specific/desktop/home-manager.nix | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/modules/home-manager/programs/direnv/default.nix b/modules/home-manager/programs/direnv/default.nix index e660e30..c27cb2c 100644 --- a/modules/home-manager/programs/direnv/default.nix +++ b/modules/home-manager/programs/direnv/default.nix @@ -4,16 +4,5 @@ programs.direnv = { enable = true; nix-direnv.enable = true; - - config = { - whitelist = { - prefix = [ - "/mnt/internal/personal/projects" - "/mnt/internal/repos" - "/mnt/internal/shared/projects" - "/mnt/internal/shared/work" - ]; - }; - }; }; } diff --git a/specific/desktop/home-manager.nix b/specific/desktop/home-manager.nix index bbc1403..d0b2dca 100644 --- a/specific/desktop/home-manager.nix +++ b/specific/desktop/home-manager.nix @@ -58,6 +58,27 @@ }; }; + # + # PACKAGES # + # + + programs.direnv = { + config = { + whitelist = { + prefix = [ + "/mnt/internal/personal/projects" + "/mnt/internal/repos" + "/mnt/internal/shared/projects" + "/mnt/internal/shared/work" + ]; + }; + }; + }; + + # + # MODULES # + # + # Add monitor configuration to hyprland modules.hyprland.extraConfig = # hyprlang ''