mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-12-16 05:51:15 +01:00
Merge pull request #41 from DavHau/patch-1
readme: add `direnv` to systemPackages in configuration.nix
This commit is contained in:
commit
d13fe36fef
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ In `/etc/nixos/configuration.nix`:
|
||||||
|
|
||||||
```
|
```
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [ nix-direnv ];
|
environment.systemPackages = with pkgs; [ direnv nix-direnv ];
|
||||||
# nix options for derivations to persist garbage collection
|
# nix options for derivations to persist garbage collection
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue