hermes: Use direnv module from NixOS instead of home-manager
This commit is contained in:
parent
1a2983e55e
commit
a68c001f0e
3 changed files with 16 additions and 22 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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; [
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue