From beaa45b72551ada5285bdceeb147b8acf921bd9e Mon Sep 17 00:00:00 2001 From: xqtc Date: Sun, 17 Nov 2024 20:32:09 +0100 Subject: [PATCH] Add unfree-predicate --- hosts/x86_64-linux/beleth/default.nix | 1 + hosts/x86_64-linux/beleth/unfree-predicate.nix | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 hosts/x86_64-linux/beleth/unfree-predicate.nix diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index 2a7e827..bb43364 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -16,6 +16,7 @@ with lib; { ./transmission.nix ./external-users.nix ./fail2ban.nix + ./unfree-predicate.nix ./lanrarari.nix # ./hydra.nix ./conduit.nix diff --git a/hosts/x86_64-linux/beleth/unfree-predicate.nix b/hosts/x86_64-linux/beleth/unfree-predicate.nix new file mode 100644 index 0000000..5ab4aad --- /dev/null +++ b/hosts/x86_64-linux/beleth/unfree-predicate.nix @@ -0,0 +1,3 @@ +{}:{nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "factorio-headless" +];}