Add ferdium config to nix, autostart (minimised) with hyprland

This commit is contained in:
Evie Litherland-Smith 2023-10-03 07:42:06 +01:00
parent d33360e856
commit b2a27457fe
5 changed files with 88 additions and 7 deletions

View file

@ -15,6 +15,7 @@
./emacs/default.nix
./accounts/default.nix
./firefox/default.nix
./ferdium/default.nix
];
home.packages = with pkgs; [ dig silver-searcher gnumake ];
programs = {

6
home/ferdium/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [ ferdium ];
xdg.configFile."Ferdium/config/settings.json".source = ./settings.json;
}

View file

@ -0,0 +1,79 @@
{
"autoLaunchOnStart": false,
"autoLaunchInBackground": false,
"runInBackground": false,
"reloadAfterResume": true,
"reloadAfterResumeTime": 10,
"enableSystemTray": true,
"startMinimized": true,
"confirmOnQuit": false,
"minimizeToSystemTray": true,
"closeToSystemTray": false,
"privateNotifications": false,
"clipboardNotifications": true,
"notifyTaskBarOnMessage": false,
"showDisabledServices": false,
"showServiceName": false,
"showMessageBadgeWhenMuted": true,
"showDragArea": false,
"enableSpellchecking": true,
"enableTranslator": true,
"spellcheckerLanguage": "en-GB",
"darkMode": false,
"navigationBarManualActive": false,
"splitMode": false,
"splitColumns": 3,
"fallbackLocale": "en-US",
"beta": false,
"isAppMuted": false,
"enableGPUAcceleration": true,
"enableGlobalHideShortcut": false,
"server": "You are using Ferdium without a server",
"predefinedTodoServer": "isUsingCustomTodoService",
"autohideMenuBar": false,
"lockingFeatureEnabled": false,
"locked": false,
"lockedPassword": "",
"useTouchIdToUnlock": true,
"scheduledDNDEnabled": false,
"scheduledDNDStart": "17:00",
"scheduledDNDEnd": "09:00",
"hibernateOnStartup": true,
"hibernationStrategy": 300,
"wakeUpStrategy": 300,
"wakeUpHibernationStrategy": 0,
"wakeUpHibernationSplay": true,
"inactivityLock": 0,
"automaticUpdates": false,
"universalDarkMode": true,
"userAgentPref": "",
"adaptableDarkMode": true,
"accentColor": "#7367F0",
"progressbarAccentColor": "#7367F0",
"serviceRibbonWidth": 55,
"sidebarServicesLocation": 1,
"iconSize": 20,
"sentry": false,
"navigationBarBehaviour": "custom",
"webRTCIPHandlingPolicy": "disable_non_proxied_udp",
"searchEngine": "duckDuckGo",
"translatorLanguage": "en",
"translatorEngine": "LibreTranslate",
"useHorizontalStyle": true,
"hideCollapseButton": true,
"isMenuCollapsed": false,
"hideRecipesButton": false,
"hideSplitModeButton": true,
"useGrayscaleServices": false,
"grayscaleServicesDim": 50,
"hideWorkspacesButton": true,
"hideNotificationsButton": false,
"hideSettingsButton": true,
"alwaysShowWorkspaces": false,
"liftSingleInstanceLock": false,
"enableLongPressServiceHint": true,
"isTodosFeatureEnabled": true,
"customTodoServer": "",
"locale": "en-US",
"keepAllWorkspacesLoaded": false
}

View file

@ -264,6 +264,7 @@ in ''
exec-once = ${pkgs.swaynotificationcenter}/bin/swaync
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
exec-once = ${pkgs.dex}/bin/dex --autostart
exec-once = ferdium
exec-once = kidex
exec = pkill -HUP kanshi
''

View file

@ -9,13 +9,7 @@
./anyrun.nix
./gtk.nix
];
home.packages = with pkgs; [
signal-desktop
ferdium
libreoffice
zotero
minesweep-rs
];
home.packages = with pkgs; [ signal-desktop libreoffice zotero minesweep-rs ];
programs = {
firefox.package = pkgs.firefox-wayland;
rofi = {