This commit is contained in:
parent
2fd69f6266
commit
cbd1f99bc7
8 changed files with 12 additions and 24 deletions
|
@ -6,7 +6,6 @@
|
|||
features = {
|
||||
cli = {
|
||||
bookmarkthis.enable = true;
|
||||
direnv.enable = true;
|
||||
node.enable = true;
|
||||
ranger.enable = true;
|
||||
starship.enable = true;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
features = {
|
||||
cli = {
|
||||
bookmarkthis.enable = true;
|
||||
direnv.enable = true;
|
||||
node.enable = true;
|
||||
|
||||
ranger.enable = true;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
./browsers/firefox.nix
|
||||
./browsers/qutebrowser.nix
|
||||
./dev-commit.nix
|
||||
./direnv.nix
|
||||
./gtk.nix
|
||||
./media/handbrake.nix
|
||||
./media/mpv.nix
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.direnv;
|
||||
in
|
||||
{
|
||||
options.features.cli.direnv.enable = mkEnableOption "Enable direnv";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
|
||||
nix-direnv.enable = true;
|
||||
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
}
|
3
modules2/direnv/enable.nix
Normal file
3
modules2/direnv/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.direnv.enable = true;
|
||||
}
|
3
modules2/direnv/nix-direnv.nix
Normal file
3
modules2/direnv/nix-direnv.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.direnv.nix-direnv.enable = true;
|
||||
}
|
3
modules2/direnv/silent.nix
Normal file
3
modules2/direnv/silent.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.direnv.silent = true;
|
||||
}
|
3
modules2/direnv/zsh.nix
Normal file
3
modules2/direnv/zsh.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.direnv.enableZshIntegration = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue