update ente

This commit is contained in:
Kopatz
2025-03-06 16:26:34 +01:00
parent da13efe716
commit 60f88c469c
4 changed files with 35 additions and 2 deletions

View File

@@ -58,8 +58,12 @@
"browser.download.useDownloadDir" = false; "browser.download.useDownloadDir" = false;
"browser.download.dir" = "/tmp"; "browser.download.dir" = "/tmp";
# Restore previous session automatically # Restore previous session automatically
"browser.startup.page"= 3; "browser.startup.page" = 3;
"extensions.activeThemeID" = "{5cd68d86-8324-4ab2-9e0d-3afcc60bee5f}"; "extensions.activeThemeID" = "{5cd68d86-8324-4ab2-9e0d-3afcc60bee5f}";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.ctrlTab.sortByRecentlyUsed" = true; "browser.ctrlTab.sortByRecentlyUsed" = true;
# Firefox 75+ remembers the last workspace it was opened on as part of its session management.
# This is annoying, because I can have a blank workspace, open Firefox and
# then have Firefox open on some other workspace
"widget.disable-workspace-management" = true;
} }

View File

@@ -7,7 +7,7 @@ buildNpmPackage rec {
src = "${(fetchGit { src = "${(fetchGit {
url = "git@github.com:oberprofis/ente.git"; url = "git@github.com:oberprofis/ente.git";
ref = "master"; ref = "master";
rev = "42ccf9f7427d8007fce65526e9b9d0443115e476"; rev = "f82b14a08080865be3c31144787ffaf8509a018a";
})}/website/tracker-site"; })}/website/tracker-site";
npmDepsHash = "sha256-fYTRhIU+8pdIm3wC5wJRcDUhgN3d+mmvfmVzuu0pjLQ="; npmDepsHash = "sha256-fYTRhIU+8pdIm3wC5wJRcDUhgN3d+mmvfmVzuu0pjLQ=";

View File

@@ -101,6 +101,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libimobiledevice libimobiledevice
ifuse # optional, to mount using 'ifuse' ifuse # optional, to mount using 'ifuse'
(callPackage ./zen.nix {})
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [

28
systems/pc/zen.nix Normal file
View File

@@ -0,0 +1,28 @@
{ appimageTools, fetchurl, ... }:
let
pname = "zen";
version = "latest";
src = fetchurl {
url = "https://github.com/zen-browser/desktop/releases/latest/download/zen-x86_64.AppImage";
sha256 = "sha256-hZiJ8JLzLhtD1W8DAso3yBAJYhFE+nJEbQJa59AWjnU=";
};
appimageContents = appimageTools.extract {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
# Install .desktop file
install -m 444 -D ${appimageContents}/zen.desktop $out/share/applications/${pname}.desktop
# Install icon
install -m 444 -D ${appimageContents}/zen.png $out/share/icons/hicolor/128x128/apps/${pname}.png
'';
meta = {
platforms = [ "x86_64-linux" ];
};
}