diff --git a/flake.nix b/flake.nix index 42eb74b..02ad004 100644 --- a/flake.nix +++ b/flake.nix @@ -46,6 +46,7 @@ pkgs = import ./pkgs { sources = inputs; system = "x86_64-linux"; + config.allowUnfree = true; }; evalConfig = config: (nixpkgs.lib.nixosSystem { system = "x86_64-linux"; @@ -54,7 +55,6 @@ nix-hexchen.nixosModules.network.nftables { nixpkgs.pkgs = pkgs.lib.mkForce pkgs; - nixpkgs.config.allowUnfree = true; imports = [ profiles.container profiles.nopersist ]; } ]; diff --git a/services/gitea.nix b/services/gitea.nix index 3ab5f31..db6430f 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -19,8 +19,6 @@ hexchen.bindmounts."/var/lib/gitea" = "/persist/gitea"; - nixpkgs.config.allowUnfree = true; - services.gitea = { enable = true; appName = "0x0: git for all creatures";