From ba3af47cb598e53b079f9faf1685513d23ee48d3 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 5 Jul 2023 11:39:44 +0800 Subject: [PATCH] hosts/ni: create system-wide nixpkgs config --- hosts/ni/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 33add34a..5c403196 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -132,6 +132,12 @@ in programs.wezterm.enable = true; programs.adb.enable = true; + environment.etc."nix/nixpkgs-config.nix".source = pkgs.writeText "nixpkgs-config" '' + { + allowUnfree = true; + } + ''; + environment.systemPackages = with pkgs; [ # Some sysadmin thingamajigs. openldap