2024-06-17 08:47:53 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
2024-06-17 13:53:08 +01:00
|
|
|
fonts,
|
2024-06-22 12:10:16 +01:00
|
|
|
rc2nix,
|
2024-06-17 08:47:53 +01:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-19 17:54:35 +01:00
|
|
|
imports = [./konsole.nix];
|
2024-06-17 13:53:08 +01:00
|
|
|
home.packages = with pkgs; [
|
2024-06-22 12:10:16 +01:00
|
|
|
rc2nix
|
2024-06-18 15:37:18 +01:00
|
|
|
wl-clipboard
|
2024-06-17 13:53:08 +01:00
|
|
|
volantes-cursors
|
2024-06-25 20:26:00 +01:00
|
|
|
(papirus-icon-theme.override {color = "breeze";})
|
2024-06-17 13:53:08 +01:00
|
|
|
];
|
2024-06-17 08:47:53 +01:00
|
|
|
services.gpg-agent.pinentryPackage = pkgs.pinentry-qt;
|
2024-06-17 13:53:08 +01:00
|
|
|
programs.plasma = {
|
|
|
|
enable = true;
|
2024-06-17 14:02:16 +01:00
|
|
|
overrideConfig = true;
|
2024-06-17 14:51:52 +01:00
|
|
|
|
2024-06-17 13:53:08 +01:00
|
|
|
workspace = {
|
|
|
|
clickItemTo = "open";
|
|
|
|
lookAndFeel = "org.kde.breeze.desktop";
|
2024-06-17 18:41:34 +01:00
|
|
|
theme = "breeze-light";
|
|
|
|
colorScheme = "BreezeLight";
|
2024-06-17 13:53:08 +01:00
|
|
|
cursor = {
|
|
|
|
theme = "volantes_cursors";
|
|
|
|
size = 32;
|
|
|
|
};
|
|
|
|
iconTheme = "Papirus";
|
|
|
|
wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}";
|
|
|
|
};
|
2024-06-17 14:51:52 +01:00
|
|
|
|
2024-06-17 13:53:08 +01:00
|
|
|
fonts = let
|
|
|
|
general = {
|
|
|
|
family = fonts.sansSerif.name;
|
2024-06-20 16:37:04 +01:00
|
|
|
pointSize = 12;
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
2024-06-23 21:15:42 +01:00
|
|
|
small = {
|
|
|
|
inherit (general) family;
|
|
|
|
pointSize = general.pointSize - 2;
|
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
fixedWidth = {
|
|
|
|
family = fonts.monospace.name;
|
2024-06-20 16:37:04 +01:00
|
|
|
pointSize = 12;
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
|
|
|
in {
|
2024-06-23 21:15:42 +01:00
|
|
|
inherit general small fixedWidth;
|
2024-06-17 13:53:08 +01:00
|
|
|
menu = general;
|
|
|
|
toolbar = general;
|
2024-06-23 21:15:42 +01:00
|
|
|
windowTitle = small;
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
2024-06-17 14:51:52 +01:00
|
|
|
|
2024-06-17 15:54:28 +01:00
|
|
|
hotkeys.commands = {
|
|
|
|
"launch-emacs" = {
|
|
|
|
name = "Launch Emacs Client Window";
|
2024-06-19 18:02:08 +01:00
|
|
|
key = "Meta+Alt+X";
|
2024-06-17 15:54:28 +01:00
|
|
|
command = "emacsclient -c";
|
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
|
|
|
|
2024-06-24 06:32:30 +01:00
|
|
|
panels = [
|
|
|
|
{
|
2024-06-23 18:25:45 +01:00
|
|
|
height = 32;
|
2024-06-23 21:15:42 +01:00
|
|
|
lengthMode = "fill";
|
2024-06-29 13:00:11 +01:00
|
|
|
location = "bottom";
|
2024-06-23 21:15:42 +01:00
|
|
|
alignment = "center";
|
2024-06-29 13:00:11 +01:00
|
|
|
hiding = "normalpanel";
|
2024-06-23 18:25:45 +01:00
|
|
|
floating = true;
|
|
|
|
widgets = [
|
2024-06-23 21:15:42 +01:00
|
|
|
{
|
|
|
|
name = "org.kde.plasma.kickoff";
|
|
|
|
config.General = {
|
|
|
|
icon = "nix-snowflake";
|
|
|
|
primaryActions = "0";
|
|
|
|
favoritesDisplay = "0";
|
|
|
|
applicationsDisplay = "1";
|
2024-06-25 13:32:28 +01:00
|
|
|
pin = "true";
|
2024-06-23 21:15:42 +01:00
|
|
|
showActionButtonCaptions = "true";
|
|
|
|
compactMode = "false";
|
|
|
|
};
|
|
|
|
}
|
2024-06-24 06:32:30 +01:00
|
|
|
{
|
2024-06-29 13:00:11 +01:00
|
|
|
name = "org.kde.plasma.icontasks";
|
2024-06-25 13:32:28 +01:00
|
|
|
config.General = {
|
|
|
|
maxStripes = "1";
|
|
|
|
showToolTips = "true";
|
|
|
|
launchers = [
|
|
|
|
"applications:systemsettings.desktop"
|
|
|
|
"applications:org.kde.konsole.desktop"
|
|
|
|
"preferred://filemanager"
|
|
|
|
"preferred://browser"
|
|
|
|
];
|
|
|
|
};
|
2024-06-24 06:32:30 +01:00
|
|
|
}
|
2024-06-23 21:15:42 +01:00
|
|
|
{
|
|
|
|
name = "org.kde.plasma.pager";
|
|
|
|
config.General = {
|
|
|
|
showWindowIcons = "true";
|
|
|
|
showOnlyCurrentScreen = "false";
|
|
|
|
wrapPage = "true";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
"org.kde.plasma.cameraindicator"
|
2024-06-23 18:25:45 +01:00
|
|
|
{
|
|
|
|
systemTray = {
|
|
|
|
icons = {
|
|
|
|
spacing = "small";
|
|
|
|
scaleToFit = false;
|
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
|
|
|
}
|
2024-06-17 14:51:52 +01:00
|
|
|
{
|
|
|
|
digitalClock = {
|
2024-06-25 10:41:21 +01:00
|
|
|
date = {
|
|
|
|
enable = true;
|
|
|
|
format = "isoDate";
|
|
|
|
position = "besideTime";
|
|
|
|
};
|
2024-06-23 18:25:45 +01:00
|
|
|
time = {
|
|
|
|
format = "24h";
|
|
|
|
showSeconds = "onlyInTooltip";
|
|
|
|
};
|
2024-06-17 14:51:52 +01:00
|
|
|
calendar.showWeekNumbers = true;
|
|
|
|
};
|
|
|
|
}
|
2024-06-23 18:25:45 +01:00
|
|
|
{
|
2024-06-23 21:15:42 +01:00
|
|
|
name = "org.kde.plasma.userswitcher";
|
2024-06-23 18:25:45 +01:00
|
|
|
config.General = {
|
2024-06-23 21:15:42 +01:00
|
|
|
showFace = "true";
|
|
|
|
showName = "false";
|
|
|
|
showFullName = "true";
|
|
|
|
showTechnicalInfo = "true";
|
2024-06-23 18:25:45 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-06-24 06:32:30 +01:00
|
|
|
}
|
|
|
|
];
|
2024-06-17 14:51:52 +01:00
|
|
|
|
2024-06-17 13:53:08 +01:00
|
|
|
shortcuts = {
|
2024-06-29 13:00:11 +01:00
|
|
|
ksmserver = {
|
|
|
|
"Lock Session" = ["Screensaver" "Meta+Alt+L"];
|
|
|
|
};
|
2024-06-17 18:41:34 +01:00
|
|
|
kwin = {
|
|
|
|
"Walk Through Windows of Current Application" = "Alt+`";
|
|
|
|
"Walk Through Windows of Current Application (Reverse)" = "Alt+¬";
|
2024-06-26 06:32:36 +01:00
|
|
|
"ToggleMouseClick" = "Meta+*";
|
2024-06-29 13:00:11 +01:00
|
|
|
"Expose" = "Meta+,";
|
|
|
|
"Switch Window Down" = "Meta+J";
|
|
|
|
"Switch Window Left" = "Meta+H";
|
|
|
|
"Switch Window Right" = "Meta+L";
|
|
|
|
"Switch Window Up" = "Meta+K";
|
2024-06-17 18:41:34 +01:00
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
2024-06-17 14:51:52 +01:00
|
|
|
|
2024-06-17 18:41:34 +01:00
|
|
|
kwin = {
|
|
|
|
virtualDesktops = {
|
2024-06-22 11:59:31 +01:00
|
|
|
rows = 1;
|
2024-06-26 19:32:39 +01:00
|
|
|
number = 4;
|
2024-06-17 18:41:34 +01:00
|
|
|
};
|
|
|
|
effects = {
|
|
|
|
translucency.enable = true;
|
|
|
|
blur.enable = true;
|
|
|
|
cube.enable = true;
|
|
|
|
dimAdminMode.enable = true;
|
|
|
|
};
|
2024-06-17 14:51:52 +01:00
|
|
|
};
|
|
|
|
|
2024-06-17 13:53:08 +01:00
|
|
|
configFile = {
|
2024-06-23 18:25:45 +01:00
|
|
|
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
|
2024-06-29 13:00:11 +01:00
|
|
|
plasmanotifyrc.Notifications.NormalAlwaysOnTop = true;
|
2024-06-23 08:02:16 +01:00
|
|
|
kcminputrc.Keyboard.NumLock = 1;
|
2024-06-25 11:40:50 +01:00
|
|
|
krunnerrc.General.FreeFloating = true;
|
2024-06-23 18:25:45 +01:00
|
|
|
kscreenlockerrc = {
|
|
|
|
Daemon.Timeout = 15;
|
|
|
|
Greeter.WallpaperPlugin = "org.kde.potd";
|
|
|
|
};
|
2024-06-25 11:40:50 +01:00
|
|
|
klipperrc = {
|
|
|
|
General = {
|
|
|
|
SyncClipboards = true;
|
|
|
|
MaxClipItems = 5;
|
|
|
|
IgnoreImages = false;
|
|
|
|
KeepClipboardContents = false;
|
|
|
|
};
|
|
|
|
};
|
2024-06-17 18:41:34 +01:00
|
|
|
kdeglobals = {
|
|
|
|
General = {
|
2024-06-19 17:54:35 +01:00
|
|
|
TerminalApplication = "konsole";
|
|
|
|
TerminalService = "org.kde.konsole.desktop";
|
2024-06-17 18:41:34 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
kwinrc = {
|
2024-06-26 06:32:36 +01:00
|
|
|
Plugins = {
|
|
|
|
frozenappEnabled = false;
|
|
|
|
mouseclickEnabled = true;
|
|
|
|
shakecursorEnabled = true;
|
|
|
|
};
|
2024-06-22 12:01:53 +01:00
|
|
|
Windows = {
|
|
|
|
FocusPolicy = "FocusFollowsMouse";
|
|
|
|
RollOverDesktops = true;
|
|
|
|
};
|
2024-06-26 09:39:45 +01:00
|
|
|
Tiling.padding = 10;
|
2024-06-17 18:41:34 +01:00
|
|
|
NightColor = {
|
|
|
|
Active = true;
|
|
|
|
Mode = "Location";
|
|
|
|
LatitudeFixed = "51.7";
|
|
|
|
LongitudeFixed = "-1.2";
|
|
|
|
};
|
2024-06-26 06:32:36 +01:00
|
|
|
"Effect-translucency" = {
|
|
|
|
Inactive = 100;
|
|
|
|
MoveResize = 80;
|
|
|
|
Dialogs = 80;
|
|
|
|
ComboboxPopups = 80;
|
|
|
|
Menus = 80;
|
|
|
|
};
|
2024-06-17 18:41:34 +01:00
|
|
|
};
|
2024-06-17 13:53:08 +01:00
|
|
|
};
|
|
|
|
};
|
2024-06-17 08:47:53 +01:00
|
|
|
}
|