hermes: Use direnv module from NixOS instead of home-manager

This commit is contained in:
Payas Relekar 2023-07-14 22:59:15 +05:30
parent 1a2983e55e
commit a68c001f0e
3 changed files with 16 additions and 22 deletions

View file

@ -39,17 +39,21 @@
};
};
programs.nix-ld = {
enable = true;
libraries = with pkgs; [
# stdenv.cc.cc
zlib
fuse3
icu
nss
openssl
curl
expat
];
programs = {
direnv.enable = true;
nix-ld = {
enable = true;
libraries = with pkgs; [
# stdenv.cc.cc
zlib
fuse3
icu
nss
openssl
curl
expat
];
};
};
}

View file

@ -51,13 +51,6 @@ in
treesit-grammars.with-all-grammars
];
};
direnv = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
nix-direnv.enable = true;
};
};
home.packages = with pkgs; [

View file

@ -1,11 +1,8 @@
{ config, lib, options, pkgs, ... }:
{
nix = {
# Enable Flakes systemwide, and set gc-roots for nix-direnv
extraOptions = ''
experimental-features = nix-command flakes ca-derivations
keep-outputs = true
keep-derivations = true
'';
# Automated gabrage collection