77 lines
1.8 KiB
Nix
77 lines
1.8 KiB
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
|
|
|
|
home.packages = with pkgs; [
|
|
kdePackages.yakuake
|
|
];
|
|
|
|
programs.plasma = {
|
|
enable = true;
|
|
|
|
panels = [
|
|
{
|
|
location = "bottom";
|
|
screen = "all";
|
|
widgets = [
|
|
"org.kde.plasma.kickoff"
|
|
"org.kde.plasma.pager"
|
|
{
|
|
iconTasks = {
|
|
launchers = [
|
|
"applications:firefox.desktop"
|
|
"applications:org.kde.dolphin.desktop"
|
|
]
|
|
++ lib.optionals config.programs.thunderbird.enable [ "applications:thunderbird.desktop" ];
|
|
};
|
|
}
|
|
"org.kde.plasma.marginsseparator"
|
|
"org.kde.plasma.systemtray"
|
|
"org.kde.plasma.digitalclock"
|
|
"org.kde.plasma.showdesktop"
|
|
];
|
|
}
|
|
];
|
|
|
|
kwin.virtualDesktops = {
|
|
number = 2;
|
|
rows = 2;
|
|
};
|
|
|
|
shortcuts = {
|
|
kwin.ClearLastMouseMark = "Meta+Shift+F12";
|
|
kwin.ClearMouseMarks = "Meta+Shift+F11";
|
|
yakuake.toggle-window-state = "F12";
|
|
};
|
|
|
|
configFile = {
|
|
kcminputrc.Keyboard.NumLock = 0; # NumLock on at startup
|
|
|
|
ksmserverrc.General.confirmLogout = false;
|
|
ksmserverrc.General.loginMode = "emptySession";
|
|
|
|
kwinrc.Plugins.mousemarkEnabled = true; # Mouse "Laser-Pointer"
|
|
|
|
plasmaparc.General.RaiseMaximumVolume = true;
|
|
|
|
spectaclerc = {
|
|
General.autoSaveImage = true;
|
|
General.clipboardGroup = "PostScreenshotCopyImage";
|
|
};
|
|
|
|
yakuakerc.Dialogs.FirstRun = false;
|
|
yakuakerc.Window.KeepOpen = false;
|
|
};
|
|
};
|
|
|
|
# Autostart yakuake by symlinking to KDE autostart dir
|
|
home.file.".config/autostart/org.kde.yakuake.desktop".source =
|
|
"${pkgs.kdePackages.yakuake}/share/applications/org.kde.yakuake.desktop";
|
|
}
|