fix nixpkgs.allowUnfree

the previous config had no effect, but nobody noticed since it was not
necessary in the first place.
This commit is contained in:
stuebinm 2023-10-20 23:19:55 +02:00
parent 8186160c1b
commit 2971d1bbc0
2 changed files with 1 additions and 3 deletions

View file

@ -46,6 +46,7 @@
pkgs = import ./pkgs { pkgs = import ./pkgs {
sources = inputs; sources = inputs;
system = "x86_64-linux"; system = "x86_64-linux";
config.allowUnfree = true;
}; };
evalConfig = config: (nixpkgs.lib.nixosSystem { evalConfig = config: (nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@ -54,7 +55,6 @@
nix-hexchen.nixosModules.network.nftables nix-hexchen.nixosModules.network.nftables
{ {
nixpkgs.pkgs = pkgs.lib.mkForce pkgs; nixpkgs.pkgs = pkgs.lib.mkForce pkgs;
nixpkgs.config.allowUnfree = true;
imports = [ profiles.container profiles.nopersist ]; imports = [ profiles.container profiles.nopersist ];
} }
]; ];

View file

@ -19,8 +19,6 @@
hexchen.bindmounts."/var/lib/gitea" = "/persist/gitea"; hexchen.bindmounts."/var/lib/gitea" = "/persist/gitea";
nixpkgs.config.allowUnfree = true;
services.gitea = { services.gitea = {
enable = true; enable = true;
appName = "0x0: git for all creatures"; appName = "0x0: git for all creatures";