From 50d902b04bd146230ebb4edcb75586aeeb270892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 14 Jan 2022 10:26:37 +0100 Subject: [PATCH] Add nix flake config --- config/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/default.nix b/config/default.nix index 33c79de5..f0c1fef2 100644 --- a/config/default.nix +++ b/config/default.nix @@ -1,5 +1,11 @@ -{ ... }: { +{ pkgs, ... }: { imports = [ ./zfs.nix ]; + nix = { + package = pkgs.nixUnstable; # or versioned attributes like nix_2_4 + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; }