Fix Ferdium setting download folder correctly based on user
This commit is contained in:
parent
5ff572a9b7
commit
5519aecd71
|
@ -1,6 +1,10 @@
|
|||
{ accentColor, progressbarAccentColor }:
|
||||
{
|
||||
inherit accentColor progressbarAccentColor;
|
||||
downloadFolderPath,
|
||||
accentColor,
|
||||
progressbarAccentColor,
|
||||
}:
|
||||
{
|
||||
inherit downloadFolderPath accentColor progressbarAccentColor;
|
||||
adaptableDarkMode = true;
|
||||
alwaysShowWorkspaces = false;
|
||||
autoLaunchInBackground = false;
|
||||
|
@ -13,7 +17,6 @@
|
|||
confirmOnQuit = false;
|
||||
customTodoServer = "";
|
||||
darkMode = false;
|
||||
downloadFolderPath = "/home/pixelifytica/Downloads";
|
||||
enableGPUAcceleration = true;
|
||||
enableGlobalHideShortcut = false;
|
||||
enableLongPressServiceHint = false;
|
||||
|
@ -68,7 +71,7 @@
|
|||
spellcheckerLanguage = "en-GB";
|
||||
splitColumns = 3;
|
||||
splitMode = false;
|
||||
startMinimized = true;
|
||||
startMinimized = false;
|
||||
translatorEngine = "LibreTranslate";
|
||||
translatorLanguage = "en";
|
||||
twoFactorAutoCatcherMatcher = "token, code, sms, verify";
|
||||
|
|
|
@ -64,16 +64,13 @@
|
|||
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 =
|
||||
let
|
||||
"Ferdium/config/settings.json".text = builtins.toJSON (
|
||||
import ./config/ferdium.nix {
|
||||
downloadFolderPath = config.xdg.userDirs.download;
|
||||
accentColor = config.scheme.withHashtag.${accentColourName};
|
||||
in
|
||||
builtins.toJSON (
|
||||
import ./config/ferdium.nix {
|
||||
inherit accentColor;
|
||||
progressbarAccentColor = accentColor;
|
||||
}
|
||||
);
|
||||
progressbarAccentColor = config.scheme.withHashtag.${accentColourName};
|
||||
}
|
||||
);
|
||||
"teams-for-linux/config.json".text = builtins.toJSON (import ./config/teams-for-linux.nix);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue