This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/desktop/plasma6/default.nix

157 lines
3.7 KiB
Nix
Raw Normal View History

Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
{
pkgs,
fonts,
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
...
}: {
home.packages = with pkgs; [
fonts.serif.package
fonts.sansSerif.package
fonts.monospace.package
volantes-cursors
(papirus-icon-theme.override {color = "violet";})
];
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
services.gpg-agent.pinentryPackage = pkgs.pinentry-qt;
programs.plasma = {
enable = true;
2024-06-17 14:02:16 +01:00
overrideConfig = true;
2024-06-17 14:51:52 +01:00
workspace = {
clickItemTo = "open";
lookAndFeel = "org.kde.breeze.desktop";
theme = "breeze-light";
colorScheme = "BreezeLight";
cursor = {
theme = "volantes_cursors";
size = 32;
};
iconTheme = "Papirus";
wallpaper = "${../wallpapers/landscapes/tropic_island_day.jpg}";
};
2024-06-17 14:51:52 +01:00
fonts = let
general = {
family = fonts.sansSerif.name;
pointSize = 10;
};
fixedWidth = {
family = fonts.monospace.name;
pointSize = 10;
};
in {
inherit general fixedWidth;
menu = general;
toolbar = general;
windowTitle = general;
small = {
inherit (general) family;
2024-06-17 14:51:52 +01:00
pointSize = general.pointSize - 2;
};
};
2024-06-17 14:51:52 +01:00
2024-06-17 15:54:28 +01:00
hotkeys.commands = {
"launch-terminal" = {
name = "Launch Alacritty Terminal Emulator";
key = "Meta+Alt+T";
command = "alacritty";
};
"launch-emacs" = {
name = "Launch Emacs Client Window";
key = "Meta+Alt+E";
command = "emacsclient -c";
};
};
panels = [
{
2024-06-17 15:21:11 +01:00
height = 44;
lengthMode = "fill";
location = "bottom";
2024-06-17 15:21:11 +01:00
alignment = "center";
hiding = "none";
floating = true;
widgets = [
{
name = "org.kde.plasma.kickoff";
config = {General.icon = "nix-snowflake";};
}
{
name = "org.kde.plasma.icontasks";
config = {
General.launchers = [
"applications:systemsettings.desktop"
"applications:org.kde.dolphin.desktop"
2024-06-17 15:54:28 +01:00
"applications:Alacritty.desktop"
"applications:emacs.desktop"
"applications:firefox.desktop"
2024-06-17 15:21:11 +01:00
"applications:org.kde.elisa.desktop"
];
};
}
"org.kde.plasma.systemtray"
2024-06-17 14:51:52 +01:00
{
digitalClock = {
date.format = {custom = "d/MM";};
time.format = "24h";
calendar.showWeekNumbers = true;
};
}
2024-06-17 15:21:11 +01:00
"org.kde.plasma.showdesktop"
];
}
];
2024-06-17 14:51:52 +01:00
shortcuts = {
ksmserver = {
2024-06-17 15:54:28 +01:00
"Lock Session" = ["Screensaver" "Meta+Alt+L"];
};
kwin = {
"Walk Through Windows" = "Meta+Tab";
"Walk Through Windows (Reverse)" = "Meta+Shift+Tab";
"Walk Through Windows of Current Application" = "Alt+`";
"Walk Through Windows of Current Application (Reverse)" = "Alt+¬";
};
};
2024-06-17 14:51:52 +01:00
startup.startupScript = {
"protonmail-bridge" = {
priority = 3;
text = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";
};
};
kwin = {
virtualDesktops = {
rows = 2;
number = 6;
};
effects = {
translucency.enable = true;
blur.enable = true;
cube.enable = true;
dimAdminMode.enable = true;
};
2024-06-17 14:51:52 +01:00
};
configFile = {
kdeglobals = {
General = {
TerminalApplication = "alacritty";
TerminalService = "Alacritty.desktop";
};
};
kscreenlockerrc = {
Daemon.Timeout = 15;
Greeter.WallpaperPlugin = "org.kde.potd";
};
kwinrc = {
NightColor = {
Active = true;
Mode = "Location";
LatitudeFixed = "51.7";
LongitudeFixed = "-1.2";
};
};
};
};
Squashed commit of the following: commit 68df6945a226870a9911497684dc17ab1c6bee5f Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:44:52 2024 +0100 Remove gnome-themes-extra and adwaita-qt commit fa7baa7812884fb4f33880193a3facf0ab86ad1d Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:37:45 2024 +0100 Export more rc2 settings for Vanguard commit 4a101ee77d6b7bdc71fb575f021cb15dd3f25405 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:27:46 2024 +0100 Set pinentry package to Qt variant when using plasma6 Add extra theme/icon packages to installed packages whilst configuring commit 923adabb2838548c97fed67945536defb038edb7 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 08:23:48 2024 +0100 Add rc2 export for Vanguard as well Remove some sway config from Vanguard.nix Remove home-manager kdeconnect service, incompatible with system/plasma6 enabled service Install pinentry-all by default to ensure compatibility commit dfc1ac3f743cb759c774fe893093a5a20e1f3aed Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Mon Jun 17 07:35:31 2024 +0100 Add plasma6 export using rc2nix commit eb8bb86c17bf77f0fa1cc2dea35e360eaa0374c0 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 20:44:38 2024 +0100 Disable/remove more options not needed for plasma6 commit 51171ddb06767a2669b1a6f13f2f8753424c18f1 Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 19:31:15 2024 +0100 Re-enable alacritty decorations, disable translucency for alacritty and emacs commit 99364c041b2c3d6ba9fa5dba82a2427818a8d65e Author: Evie Litherland-Smith <evie@xenia.me.uk> Date: Sun Jun 16 12:42:26 2024 +0100 Disable sway and related modules
2024-06-17 08:47:53 +01:00
}