Allow non-free consul for now

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-02-09 15:40:00 +01:00
parent 4959eb8d0c
commit e1eef717b0
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
3 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,10 @@ in
modules = singleton
({ secret, pkgs, config, ... }:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib'.getName pkg) [
"consul-1.17.2"
];
imports = [
./bind.nix
./consul.nix

View file

@ -83,6 +83,9 @@ in
};
config = {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"consul-1.17.2"
];
nixpkgs.overlays = config.nixpkgs.overlays;
imports = with config'.flake.nixosModules; [

View file

@ -23,6 +23,9 @@ in
modules = singleton
({ pkgs, config, ... }:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib'.getName pkg) [
"consul-1.17.2"
];
imports = [
./consul.nix
./nomad.nix