diff --git a/configs/system.nix b/configs/system.nix index 4a59ef6..9d8e49f 100644 --- a/configs/system.nix +++ b/configs/system.nix @@ -1,6 +1,18 @@ { config, lib, pkgs, ... }: { + + nix = { + package = pkgs.nixUnstable; + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; + environment.systemPackages = with pkgs; [ + (pkgs.writeShellScriptBin "nixFlakes" '' + exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@" + '') + wget inetutils openvpn