diff --git a/hosts/machine/ena/home/packages.nix b/hosts/machine/ena/home/packages.nix index 3e35741..b1167ce 100644 --- a/hosts/machine/ena/home/packages.nix +++ b/hosts/machine/ena/home/packages.nix @@ -1,4 +1,24 @@ { pkgs, inputs }: +let + tetrioPlus = pkgs.stdenvNoCC.mkDerivation { + pname = "tetrio-plus"; + version = "0.28.0"; + + src = pkgs.fetchurl { + url = "https://gitlab.com/UniQMG/tetrio-plus/-/jobs/13795436076/artifacts/raw/tetrio-plus_v0.28.0_for_desktop_v10.asar.zip"; + hash = "sha256-82fbKas/vEinn74yWTXLnU3xmy77A7VXF8yEliXpvmo="; + }; + + nativeBuildInputs = [ pkgs.unzip ]; + dontUnpack = true; + + installPhase = '' + runHook preInstall + unzip -p "$src" app.asar > "$out" + runHook postInstall + ''; + }; +in with pkgs; (import ../../../../modules/home/packages.nix { inherit pkgs inputs; }) ++ [ @@ -9,6 +29,10 @@ with pkgs; # inputs.waterfox.packages.${pkgs.system}.waterfox gnome-network-displays element-desktop + (tetrio-desktop.override { + withTetrioPlus = true; + tetrio-plus = tetrioPlus; + }) # Provides secret-tool, used by Quickshell to load/save API keys. libsecret inputs.imnyang.packages.${stdenv.hostPlatform.system}.figma-linux diff --git a/modules/home/devtool/neovim.nix b/modules/home/devtool/neovim.nix index 7f23538..c9ef552 100644 --- a/modules/home/devtool/neovim.nix +++ b/modules/home/devtool/neovim.nix @@ -12,12 +12,4 @@ viAlias = true; vimAlias = true; }; - - home.activation.nvimConfigRepo = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - target="${config.xdg.configHome}/nvim" - - rm -rf "$target" - - ${pkgs.git}/bin/git clone https://git.pari.ng/imnyang/nvim-config.git "$target" - ''; }