2022-05-20 12:45:42 +02:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
{
|
2022-05-20 13:46:33 +02:00
|
|
|
enable = true;
|
|
|
|
|
2022-05-20 12:45:42 +02:00
|
|
|
configFile = {
|
2022-05-22 15:40:27 +02:00
|
|
|
|
|
|
|
"i3blocks/config".source = ./files/i3-blocks;
|
|
|
|
|
|
|
|
"borg/exclude".source = ./files/borg-exclude;
|
2022-05-20 12:45:42 +02:00
|
|
|
"ctags/config.ctags".source = ./files/ctags;
|
2022-08-17 10:18:33 +02:00
|
|
|
"sc-im/scimrc".source = ./files/scimrc;
|
2022-08-24 14:36:38 +02:00
|
|
|
"ncdu/config".source = ./files/ncdu;
|
2022-05-22 15:40:27 +02:00
|
|
|
"keepassxc/keepassxc.ini".text = pkgs.lib.generators.toINI { } {
|
2022-05-31 08:47:21 +02:00
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
General = {
|
|
|
|
ConfigVersion = 2;
|
|
|
|
};
|
2022-05-31 08:47:21 +02:00
|
|
|
|
2022-10-05 21:31:15 +02:00
|
|
|
FdoSecrets = {
|
|
|
|
Enabled = true;
|
|
|
|
};
|
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
GUI = {
|
|
|
|
ApplicationTheme = "dark";
|
|
|
|
CompactMode = true;
|
2022-05-31 08:47:21 +02:00
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
HidePreviewPanel = false;
|
|
|
|
HideToolbar = true;
|
|
|
|
HideUsernames = false;
|
2022-05-31 08:47:21 +02:00
|
|
|
|
|
|
|
MinimizeToTray = true;
|
|
|
|
ShowTrayIcon = true;
|
2022-06-01 11:20:42 +02:00
|
|
|
TrayIconAppearance = "monochrome-light";
|
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
};
|
2022-05-31 08:47:21 +02:00
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
PasswordGenerator = {
|
|
|
|
AdditionalChars = "";
|
|
|
|
AdvancedMode = true;
|
|
|
|
Braces = true;
|
|
|
|
Dashes = true;
|
|
|
|
ExcludedChars = "*<>!?";
|
|
|
|
Length = 16;
|
|
|
|
Math = true;
|
|
|
|
Quotes = true;
|
|
|
|
SpecialChars = false;
|
|
|
|
};
|
2022-05-31 08:47:21 +02:00
|
|
|
|
|
|
|
Browser = {
|
|
|
|
CustomProxyLocation = "";
|
|
|
|
Enabled = true;
|
|
|
|
SearchInAllDatabases = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
Security = {
|
|
|
|
ClearSearchTimeout = 1;
|
|
|
|
LockDatabaseIdle = true;
|
|
|
|
LockDatabaseIdleSeconds = 60;
|
|
|
|
Security_HideNotes = true;
|
|
|
|
};
|
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
};
|
2022-05-20 12:45:42 +02:00
|
|
|
"litecli/config".source = ./files/litecli;
|
|
|
|
"phpactor".source = ./files/phpactor;
|
|
|
|
"tig/config".source = ./files/tig;
|
2022-05-22 15:40:27 +02:00
|
|
|
"yamllint/config".source = ./files/yamllint/config;
|
2022-05-20 12:45:42 +02:00
|
|
|
|
2022-05-22 15:40:27 +02:00
|
|
|
# Music player
|
2022-05-20 12:45:42 +02:00
|
|
|
"cmus/rc".source = ./files/cmus/rc;
|
2022-05-22 15:40:27 +02:00
|
|
|
"cmus/smyckblue.theme".source = ./files/cmus/smyckblue.theme;
|
2022-05-20 12:45:42 +02:00
|
|
|
|
2022-07-13 07:29:28 +02:00
|
|
|
"networkmanager-dmenu/config.ini".text = pkgs.lib.generators.toINI { } {
|
|
|
|
dmenu = {
|
|
|
|
dmenu_command = "dmenu -i -l 25";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-08-09 12:00:17 +02:00
|
|
|
"composer/update-channel".text = "stable";
|
|
|
|
"composer/auth.json".source = ./files/composer/auth.json;
|
|
|
|
|
2022-08-16 08:05:13 +02:00
|
|
|
"nvim/syntax/php.vim".source = ./files/nvim/syntax/php.vim;
|
|
|
|
|
2022-10-11 20:34:09 +02:00
|
|
|
"docker/config.json".source = ./files/docker/config.json;
|
|
|
|
|
2022-05-20 12:45:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
dataFile = {
|
|
|
|
"xsd/xliff-core-1.2-strict.xsd".source = pkgs.fetchurl {
|
|
|
|
url = "https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd";
|
|
|
|
sha256 = "nzevVk7NJ9X2kVTXz+e6jesfYgyBuUzw6rH0IFx01fg=";
|
|
|
|
};
|
|
|
|
"typo3-configuration".source = ./files/typo3-configuration;
|
|
|
|
};
|
|
|
|
|
|
|
|
desktopEntries = {
|
|
|
|
microsoft-teams = {
|
|
|
|
name = "Microsoft Teams";
|
|
|
|
type = "Application";
|
2022-09-07 13:57:22 +02:00
|
|
|
exec = "${pkgs.chromium}/bin/chromium --class=\"chat\" --new-window --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\" --new-window --app=https://teams.microsoft.com/";
|
2022-05-20 12:45:42 +02:00
|
|
|
};
|
2022-05-23 08:41:24 +02:00
|
|
|
phone = {
|
2022-05-24 09:29:04 +02:00
|
|
|
name = "Phone (Sipgate)";
|
2022-05-23 08:41:24 +02:00
|
|
|
type = "Application";
|
2022-05-24 09:29:04 +02:00
|
|
|
exec = "${pkgs.chromium}/bin/chromium --class=\"phone\" --new-window --app=https://app.sipgate.com/w3/phone/phone";
|
2022-05-23 08:41:24 +02:00
|
|
|
};
|
2022-05-20 12:45:42 +02:00
|
|
|
toggl = {
|
|
|
|
name = "Toggl Time Tracking";
|
|
|
|
type = "Application";
|
2022-08-15 08:41:53 +02:00
|
|
|
exec = "firefox --class=\"time-tracking\" --new-instance -P toggl https://track.toggl.com/timer";
|
2022-05-20 12:45:42 +02:00
|
|
|
};
|
|
|
|
mailhog-ui = {
|
|
|
|
name = "Mailhog";
|
|
|
|
type = "Application";
|
2022-08-15 08:41:53 +02:00
|
|
|
exec = "firefox --class=\"mailhog\" --new-instance -P mailhog https://mailhog.localhost";
|
2022-05-20 12:45:42 +02:00
|
|
|
};
|
|
|
|
};
|
2022-05-20 13:46:33 +02:00
|
|
|
|
|
|
|
mime.enable = true;
|
2022-05-22 16:11:10 +02:00
|
|
|
mimeApps = {
|
|
|
|
enable = true;
|
2022-05-24 10:51:24 +02:00
|
|
|
# Use file --mime-type <filename> to detect mime type
|
2022-05-22 16:11:10 +02:00
|
|
|
defaultApplications = {
|
2022-05-22 20:06:05 +02:00
|
|
|
|
2022-10-05 16:52:52 +02:00
|
|
|
"inode/directory" = [ "org.gnome.Nautilus.desktop" ];
|
|
|
|
|
2022-10-05 16:53:27 +02:00
|
|
|
"text/calendar" = [ "org.kde.korganizer.desktop" ];
|
2022-09-21 07:44:46 +02:00
|
|
|
|
2022-05-22 16:11:10 +02:00
|
|
|
"application/pdf" = [ "org.pwmt.zathura-pdf-mupdf.desktop" ];
|
2022-05-22 20:06:05 +02:00
|
|
|
|
2022-09-21 07:44:46 +02:00
|
|
|
# Images
|
2022-05-22 20:06:05 +02:00
|
|
|
"image/bmp" = [ "feh.desktop" ];
|
|
|
|
"image/gif" = [ "feh.desktop" ];
|
|
|
|
"image/jpeg" = [ "feh.desktop" ];
|
|
|
|
"image/jpg" = [ "feh.desktop" ];
|
|
|
|
"image/pjpeg" = [ "feh.desktop" ];
|
|
|
|
"image/png" = [ "feh.desktop" ];
|
|
|
|
"image/tiff" = [ "feh.desktop" ];
|
|
|
|
"image/webp" = [ "feh.desktop" ];
|
|
|
|
"image/x-bmp" = [ "feh.desktop" ];
|
|
|
|
"image/x-pcx" = [ "feh.desktop" ];
|
|
|
|
"image/x-png" = [ "feh.desktop" ];
|
|
|
|
"image/x-portable-anymap" = [ "feh.desktop" ];
|
|
|
|
"image/x-portable-bitmap" = [ "feh.desktop" ];
|
|
|
|
"image/x-portable-graymap" = [ "feh.desktop" ];
|
|
|
|
"image/x-portable-pixmap" = [ "feh.desktop" ];
|
|
|
|
"image/x-tga" = [ "feh.desktop" ];
|
|
|
|
"image/x-xbitmap" = [ "feh.desktop" ];
|
2022-09-21 07:44:46 +02:00
|
|
|
|
|
|
|
# Video
|
|
|
|
"video/mp4" = [ "vlc.desktop" ];
|
|
|
|
"video/m4v" = [ "vlc.desktop" ];
|
2022-10-10 12:47:53 +02:00
|
|
|
"video/x-matroska" = [ "vlc.desktop" ];
|
2022-05-22 16:11:10 +02:00
|
|
|
};
|
|
|
|
};
|
2022-05-20 13:46:33 +02:00
|
|
|
|
2022-05-20 12:45:42 +02:00
|
|
|
}
|