Add unstable-nix.nix

This commit is contained in:
Gabriel Ebner 2020-11-26 19:17:59 +01:00
parent 9b6f76216c
commit 8e26c3fb34
4 changed files with 13 additions and 3 deletions

@ -14,6 +14,7 @@
./v4l2loopback.nix ./v4l2loopback.nix
./huion.nix ./huion.nix
./rtl8761b.nix ./rtl8761b.nix
./unstable-nix.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''
@ -125,6 +126,4 @@
system.stateVersion = "18.03"; system.stateVersion = "18.03";
nix.package = pkgs.nixUnstable;
} }

@ -16,7 +16,6 @@
nix.extraOptions = '' nix.extraOptions = ''
auto-optimise-store = true auto-optimise-store = true
binary-caches-parallel-connections = 10 binary-caches-parallel-connections = 10
experimental-features = flakes nix-command
''; '';
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

@ -12,6 +12,7 @@
./atmega.nix ./atmega.nix
./v4l2loopback.nix ./v4l2loopback.nix
./huion.nix ./huion.nix
./unstable-nix.nix
]; ];
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''

11
unstable-nix.nix Normal file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = flakes nix-command
'';
}