Pin chromium to older cached version

As workaround as chromium is not available as cached version for current
nixpkgs-unstable.
That way everything else can be updated while still downloading instead
of compiling chromium.
This commit is contained in:
Daniel Siepmann 2023-10-19 19:29:06 +02:00
parent d473d772b6
commit 513bdf334f
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -1,6 +1,10 @@
{ pkgs }:
{
let
inherit (import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/9957cd48326fe8dbd52fdc50dd2502307f188b0d.tar.gz";
}) {}) chromium;
in {
enable = true;
configFile = {
@ -62,22 +66,22 @@
microsoft-teams = {
name = "Microsoft Teams";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://teams.microsoft.com/ --user-agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\"";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://teams.microsoft.com/ --user-agent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\"";
};
slack-codappix = {
name = "Slack: Codappix";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://codappix.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://codappix.slack.com/";
};
slack-typo3 = {
name = "Slack: TYPO3";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://typo3.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://typo3.slack.com/";
};
slack-sac = {
name = "Slack: SAC";
type = "Application";
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --app=https://saccas.slack.com/";
exec = "${chromium}/bin/chromium --class=\"chat\" --new-window --app=https://saccas.slack.com/";
};
};