Add cinny and hazeover

work
mat ess 2023-03-11 12:53:23 -05:00
parent 8b5b1ae1f9
commit ce71ebf896
4 changed files with 25 additions and 2 deletions

View File

@ -55,8 +55,8 @@ in
"bartender"
"bbedit"
# "discord"
# "element"
"firefox"
"hazeover"
"jitsi-meet"
"knockknock"
# "lagrange"

View File

@ -44,8 +44,8 @@
home.packages = builtins.attrValues ({
inherit (pkgs)
# GUI apps
cinny
discord-ptb
element-desktop
lagrange
lapce
obsidian

22
pkgs/cinny.nix Normal file
View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, undmg, unzip, version ? "2.2.4", ... }:
stdenv.mkDerivation {
inherit version;
pname = "cinny";
nativeBuildInputs = [ undmg unzip ];
src = fetchurl {
url = "https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/Cinny_desktop-x86_64.dmg";
sha256 = "sha256-m8sYA7YjvhqGFuU1L1y7BtndHGd6MpuH+hKzPSukxD0=";
};
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r Cinny.app $out/Applications/Cinny.app
runHook postInstall
'';
}

View File

@ -14,6 +14,7 @@ _: prev: {
(./. + "/${name}.nix")
({ "${name}-src" = inputs."${name}-src"; } // extras))
{
cinny = { };
dark-mode-notify = {
sdkVersion = "14.2";
};