mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
readme: add direnv to systemPackages in configuration.nix
This commit is contained in:
parent
c28d4ef615
commit
35f310f1a2
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