fix(nixos): move allowUnfree to common to match home-manager

This commit is contained in:
Alexandre Cavalheiro 2024-09-19 00:51:34 -03:00
parent 96b1425736
commit 49ca0fa78b
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 3 additions and 3 deletions

View file

@ -27,4 +27,7 @@
nix.settings.trusted-public-keys = [ nix.settings.trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
]; ];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
} }

View file

@ -1,9 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Enable GPG. # Enable GPG.
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;