diff --git a/flake.nix b/flake.nix index 0f6f07e..155b8e1 100644 --- a/flake.nix +++ b/flake.nix @@ -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); diff --git a/pkgs/auto-mount/default.nix b/pkgs/auto-mount/default.nix index 393713b..071338f 100644 --- a/pkgs/auto-mount/default.nix +++ b/pkgs/auto-mount/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, + system, steam, pkgs, jq,