mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +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, ... }: {
|
||||
environment.systemPackages = with pkgs; [ nix-direnv ];
|
||||
environment.systemPackages = with pkgs; [ direnv nix-direnv ];
|
||||
# nix options for derivations to persist garbage collection
|
||||
nix.extraOptions = ''
|
||||
keep-outputs = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue