From b70694219527b78a5b9ac0b00a1a8fb8398574c8 Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Mon, 23 May 2022 10:50:43 +0200 Subject: [PATCH] Add overlay to systemwide nixpkgs --- common.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/common.nix b/common.nix index 706c41f..391be71 100644 --- a/common.nix +++ b/common.nix @@ -3,14 +3,17 @@ { ... }: { nix = { - optimise.automatic = true; - extraOptions = '' - experimental-features = nix-command flakes - ''; + optimise.automatic = true; + extraOptions = '' + experimental-features = nix-command flakes + ''; }; - nixpkgs.config.allowUnfree = true; + nixpkgs = { + config = { allowUnfree = true; }; + overlays = [ (import ./overlays) ]; + }; - boot.cleanTmpDir = true; + boot.cleanTmpDir = true; }