diff options
Diffstat (limited to 'users/sterni')
-rw-r--r-- | users/sterni/machines/edwin/default.nix | 1 | ||||
-rw-r--r-- | users/sterni/modules/minecraft-fabric.nix | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/users/sterni/machines/edwin/default.nix b/users/sterni/machines/edwin/default.nix index de34aa78afe4..c1b267526e5b 100644 --- a/users/sterni/machines/edwin/default.nix +++ b/users/sterni/machines/edwin/default.nix @@ -20,7 +20,6 @@ config = { time.timeZone = "Europe/Berlin"; - nixpkgs.config.allowUnfreeRedistributable = true; nix = { package = pkgs.nix_2_3; settings = { diff --git a/users/sterni/modules/minecraft-fabric.nix b/users/sterni/modules/minecraft-fabric.nix index 7c04aae725dd..daca54b6d113 100644 --- a/users/sterni/modules/minecraft-fabric.nix +++ b/users/sterni/modules/minecraft-fabric.nix @@ -447,8 +447,8 @@ in assertions = [ { assertion = builtins.all (instance: !instance.enable) (builtins.attrValues cfg) - || config.nixpkgs.config.allowUnfreeRedistributable or false - || config.nixpkgs.config.allowUnfree or false; + || pkgs.config.allowUnfreeRedistributable or false + || pkgs.config.allowUnfree or false; message = lib.concatStringsSep " " [ "You need to allow unfree software for minecraft," "as you'll implicitly agree to Mojang's EULA." |