Enable unfree in own packages

This commit is contained in:
Lillian Violet 2024-03-24 18:44:28 +01:00
parent 3946155a15
commit c7ed9539d5
2 changed files with 6 additions and 1 deletions

View file

@ -101,7 +101,11 @@
in {
# Your custom packages
# Accessible through 'nix build', 'nix shell', etc
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
packages = forAllSystems (system:
import ./pkgs (import nixpkgs {
inherit system;
config.allowUnfree = true;
}));
# Formatter for your nix files, available through 'nix fmt'
# Other options beside 'alejandra' include 'nixpkgs-fmt'
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);

View file

@ -1,6 +1,7 @@
{
lib,
stdenv,
system,
steam,
pkgs,
jq,