diff --git a/ops/nixos/lib/hackyplayer.nix b/ops/nixos/lib/hackyplayer.nix index 67ca96a87e..4eb9fd21c7 100644 --- a/ops/nixos/lib/hackyplayer.nix +++ b/ops/nixos/lib/hackyplayer.nix @@ -5,8 +5,7 @@ { depot, pkgs, lib, config, ... }: let - hackyplayerSrc = /home/lukegb/Projects/hackyplayer; - hackyplayer = import hackyplayerSrc { inherit pkgs; }; + inherit (depot.third_party) hackyplayer; yamlFormat = pkgs.formats.yaml {}; diff --git a/third_party/default.nix b/third_party/default.nix index afc3e051a8..bffcbba9eb 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -138,4 +138,12 @@ rec { poetry2nix = import "${poetry2nixSrc}" { pkgs = ch.depot.pkgs; }; lanzaboote = import ./lanzaboote.nix { pkgs = nixpkgs; }; + + hackyplayerSrc = nixpkgs.fetchFromGitHub { + owner = "hacks-r-us"; + repo = "hackyplayer"; + rev = "a6815fc0165da9d03e97523ee3f23d1bd2f04cad"; + hash = "sha256-KId57tgaVchM+eM70/taUarcBfsSydVk/Hm7FqcwG2Q="; + }; + hackyplayer = import hackyplayerSrc { pkgs = nixpkgs; }; }