diff --git a/modules/polybar/aozora.nix b/modules/polybar/aozora.nix index 3391cc3..9915750 100644 --- a/modules/polybar/aozora.nix +++ b/modules/polybar/aozora.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, fetchgit, rustPlatform }: +{ pkgs, lib, fetchFromGitea, rustPlatform }: rustPlatform.buildRustPackage rec { pname = "aozora"; @@ -7,8 +7,10 @@ rustPlatform.buildRustPackage rec { buildInputs = with pkgs; [ openssl ]; nativeBuildInputs = with pkgs; [ pkg-config ]; - src = fetchgit { - url = "https://git.elnu.com/ElnuDev/aozora"; + src = fetchFromGitea { + domain = "git.elnu.com"; + owner = "ElnuDev"; + repo = "aozora"; rev = version; sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI="; };