From 8e26c3fb340c25ee6e1f46cb4901e4d3d55fecc3 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 26 Nov 2020 19:17:59 +0100 Subject: [PATCH] Add unstable-nix.nix --- archachatina.nix | 3 +-- common-headless.nix | 1 - petalius.nix | 1 + unstable-nix.nix | 11 +++++++++++ 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 unstable-nix.nix diff --git a/archachatina.nix b/archachatina.nix index debf789..78a836f 100644 --- a/archachatina.nix +++ b/archachatina.nix @@ -14,6 +14,7 @@ ./v4l2loopback.nix ./huion.nix ./rtl8761b.nix + ./unstable-nix.nix ]; environment.etc."lvm/lvm.conf".text = '' @@ -125,6 +126,4 @@ system.stateVersion = "18.03"; - nix.package = pkgs.nixUnstable; - } diff --git a/common-headless.nix b/common-headless.nix index 211f6cb..8f681df 100644 --- a/common-headless.nix +++ b/common-headless.nix @@ -16,7 +16,6 @@ nix.extraOptions = '' auto-optimise-store = true binary-caches-parallel-connections = 10 - experimental-features = flakes nix-command ''; networking.networkmanager.enable = true; diff --git a/petalius.nix b/petalius.nix index ffbf2e9..e1a18e0 100644 --- a/petalius.nix +++ b/petalius.nix @@ -12,6 +12,7 @@ ./atmega.nix ./v4l2loopback.nix ./huion.nix + ./unstable-nix.nix ]; environment.etc."lvm/lvm.conf".text = '' diff --git a/unstable-nix.nix b/unstable-nix.nix new file mode 100644 index 0000000..79cc6fa --- /dev/null +++ b/unstable-nix.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: + +{ + + nix.package = pkgs.nixUnstable; + + nix.extraOptions = '' + experimental-features = flakes nix-command + ''; + +}