mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Move direnv to the system level
This commit is contained in:
parent
8949cbd1f4
commit
7520bd2447
5 changed files with 6 additions and 16 deletions
|
|
@ -42,6 +42,11 @@
|
|||
vimAlias = true;
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
silent = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.git];
|
||||
|
||||
fonts.packages = [
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
in {
|
||||
imports = [
|
||||
./starship.nix
|
||||
./direnv.nix
|
||||
./enhancement.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.shell.direnv.enable = lib.mkEnableOption "";
|
||||
|
||||
config.programs.direnv = lib.mkIf config.myConfig.shell.direnv.enable {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
config.global.hide_env_diff = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"workbench.colorTheme" =
|
||||
{
|
||||
dark = "GitHub Dark";
|
||||
light = "GitHub Light Default";
|
||||
light = "GitHub Light";
|
||||
}
|
||||
."${config.myConfig.de.theme}";
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
bash.enable = true;
|
||||
starship.enable = true;
|
||||
enhancement.enable = true;
|
||||
direnv.enable = true;
|
||||
};
|
||||
|
||||
ssh-client.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue