blob: 69ec085b3c2dddd6004f735edefc7fa26bc9aad0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
pkgs,
...
}:
{
programs.direnv = {
enable = true;
nix-direnv.enable = true;
nix-direnv.package = pkgs.nixVersions.latest;
};
nix = {
package = pkgs.nixVersions.latest;
extraOptions = ''
experimental-features = nix-command flakes
narinfo-cache-negative-ttl = 0
'';
};
# nix output-monitor
environment.systemPackages = [ pkgs.nix-output-monitor ];
nixpkgs.flake = {
setFlakeRegistry = true;
setNixPath = true;
};
nixpkgs.config.allowUnfree = true;
}
|