nix-flakes/hosts/machine/ena/home/packages.nix
2026-09-14 12:23:38 +09:00

41 lines
1.1 KiB
Nix

{ 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; })
++ [
# tail-tray
kdePackages.kcolorchooser
fastfetch
# amnezia-vpn
# 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
inputs.hyprmod.packages.${pkgs.system}.default
# hoffice
]