Remove Ferdium

Move teams config back in-line, remove config directory
This commit is contained in:
Evie Litherland-Smith 2024-09-06 14:07:46 +01:00
parent 640341cc76
commit 9e9f6dee5f
3 changed files with 9 additions and 112 deletions

View file

@ -1,88 +0,0 @@
{
downloadFolderPath,
accentColor,
progressbarAccentColor,
}:
{
inherit downloadFolderPath accentColor progressbarAccentColor;
adaptableDarkMode = true;
alwaysShowWorkspaces = false;
autoLaunchInBackground = false;
autoLaunchOnStart = false;
autohideMenuBar = false;
automaticUpdates = false;
beta = false;
clipboardNotifications = true;
closeToSystemTray = true;
confirmOnQuit = false;
customTodoServer = "";
darkMode = false;
enableGPUAcceleration = true;
enableGlobalHideShortcut = false;
enableLongPressServiceHint = false;
enableSpellchecking = true;
enableSystemTray = true;
enableTranslator = true;
fallbackLocale = "en-US";
grayscaleServicesDim = 50;
hibernateOnStartup = true;
hibernationStrategy = 300;
hideAllServicesWorkspace = false;
hideCollapseButton = false;
hideDownloadButton = false;
hideNotificationsButton = false;
hideRecipesButton = false;
hideSettingsButton = false;
hideSplitModeButton = true;
hideWorkspacesButton = false;
iconSize = 20;
inactivityLock = 0;
isAppMuted = false;
isLockingFeatureEnabled = false;
isMenuCollapsed = false;
isTodosFeatureEnabled = true;
isTwoFactorAutoCatcherEnabled = false;
keepAllWorkspacesLoaded = false;
liftSingleInstanceLock = false;
locale = "en-US";
locked = false;
lockedPassword = "";
minimizeToSystemTray = false;
navigationBarBehaviour = "never";
navigationBarManualActive = false;
notifyTaskBarOnMessage = false;
predefinedTodoServer = "https://todoist.com/app";
privateNotifications = false;
reloadAfterResume = true;
reloadAfterResumeTime = 10;
runInBackground = true;
scheduledDNDEnabled = false;
scheduledDNDEnd = "09:00";
scheduledDNDStart = "17:00";
searchEngine = "duckDuckGo";
sentry = false;
server = "You are using Ferdium without a server";
serviceRibbonWidth = 68;
showDisabledServices = false;
showDragArea = false;
showMessageBadgeWhenMuted = true;
showServiceName = false;
sidebarServicesLocation = 0;
spellcheckerLanguage = "en-GB";
splitColumns = 2;
splitMode = false;
startMinimized = false;
translatorEngine = "LibreTranslate";
translatorLanguage = "en";
twoFactorAutoCatcherMatcher = "token, code, sms, verify";
universalDarkMode = true;
useGrayscaleServices = false;
useHorizontalStyle = false;
useSelfSignedCertificates = false;
useTouchIdToUnlock = true;
userAgentPref = "";
wakeUpHibernationSplay = true;
wakeUpHibernationStrategy = 0;
wakeUpStrategy = 300;
webRTCIPHandlingPolicy = "disable_non_proxied_udp";
}

View file

@ -1,8 +0,0 @@
{
awayOnSystemIdle = true;
closeAppOnCross = true;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
}

View file

@ -1,9 +1,4 @@
{
config,
pkgs,
accentColourName,
...
}:
{ config, pkgs, ... }:
{
imports = [
./plasma/default.nix
@ -16,7 +11,6 @@
libreoffice-qt-fresh
krdc
tokodon
ferdium
webcord
signal-desktop
teams-for-linux
@ -63,15 +57,14 @@
};
configFile = {
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/ferdium.desktop".source = "${pkgs.ferdium}/share/applications/ferdium.desktop";
"Ferdium/config/settings.json".text = builtins.toJSON (
import ./config/ferdium.nix {
downloadFolderPath = config.xdg.userDirs.download;
accentColor = config.scheme.withHashtag.${accentColourName};
progressbarAccentColor = config.scheme.withHashtag.${accentColourName};
}
);
"teams-for-linux/config.json".text = builtins.toJSON (import ./config/teams-for-linux.nix);
"teams-for-linux/config.json".text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = true;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
};
};
xresources.properties = with config.scheme.withHashtag; {