From 49ca0fa78bbc1e2e1be6531671621378c4485fe4 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 19 Sep 2024 00:51:34 -0300 Subject: [PATCH] fix(nixos): move allowUnfree to common to match home-manager --- modules/nixos/common.nix | 3 +++ modules/nixos/packages.nix | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 2b03ec1..21aa1b6 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -27,4 +27,7 @@ nix.settings.trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; + + # Allow unfree packages + nixpkgs.config.allowUnfree = true; } diff --git a/modules/nixos/packages.nix b/modules/nixos/packages.nix index 7e07012..26e9f1f 100644 --- a/modules/nixos/packages.nix +++ b/modules/nixos/packages.nix @@ -1,9 +1,6 @@ { pkgs, ... }: { - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - # Enable GPG. programs.gnupg.agent = { enable = true;