diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 9b094b3..2343ee6 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -32,6 +32,9 @@ in "nixos-config=/etc/nixos/configuration.nix" ]; + nixpkgs.config.allowUnfree = false; + nixpkgs.config.allowUnfreePredicate = (pkg: builtins.elem (builtins.parseDrvName pkg.name).name [ "factorio-headless" "perl5.28.1-slimserver" ]); + services.zfs = { autoSnapshot.enable = true; autoScrub.enable = true; diff --git a/systems/common.nix b/systems/common.nix index 3b6aba4..6fbe1b1 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -9,7 +9,6 @@ (import ../overlays/neovim.nix) ]; - nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ # Editeurs neovim