From f85c532503b483f0048bc453bcc45ece8935c242 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Tue, 16 Nov 2021 17:28:04 +0100 Subject: [PATCH] system: Allow unfree packages --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index e886b75..55ae63b 100644 --- a/flake.nix +++ b/flake.nix @@ -20,9 +20,17 @@ }; outputs = { self, hm, nixpkgs, agenix, ... }@inputs: { inherit self inputs; + + nixpkgs.config.allowUnfree = true; #Predicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [ "dropbox" ]; + nixosConfigurations."thrall" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ + ({ + nixpkgs = { + config.allowUnfree = true; + }; + }) inputs.snm.nixosModule ./modules/security.nix ./hosts/thrall