mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51: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;
|
vimAlias = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [pkgs.git];
|
environment.systemPackages = [pkgs.git];
|
||||||
|
|
||||||
fonts.packages = [
|
fonts.packages = [
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./direnv.nix
|
|
||||||
./enhancement.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" =
|
"workbench.colorTheme" =
|
||||||
{
|
{
|
||||||
dark = "GitHub Dark";
|
dark = "GitHub Dark";
|
||||||
light = "GitHub Light Default";
|
light = "GitHub Light";
|
||||||
}
|
}
|
||||||
."${config.myConfig.de.theme}";
|
."${config.myConfig.de.theme}";
|
||||||
"workbench.iconTheme" = "material-icon-theme";
|
"workbench.iconTheme" = "material-icon-theme";
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
enhancement.enable = true;
|
enhancement.enable = true;
|
||||||
direnv.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ssh-client.enable = true;
|
ssh-client.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue