move plasma config to import

This commit is contained in:
greyweather committed 2026-07-03 00:56:34 +01:00
1 parent a67d5bdeed
commit 2d26addbf5
2 files changed
+39 -15

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
{
pkgs,
...
}: {
programs.plasma = {
enable = true;
overrideConfig = true;
session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
workspace = {
clickItemTo = "select";
lookAndFeel = "org.kde.breezedark.desktop";
cursor.theme = "Bibata-Modern-Ice";
iconTheme = "Papirus-Dark";
};
hotkeys.commands."rebuild-flake" = {
name = "Rebuild NixOS Flake";
key = "Meta+Z";
command = "kitty --hold bash -c \"nh os switch /home/grey/nixos; if [ \\$? == 0 ]; then exit; fi\"";
};
shortcuts = {
plasmashell = {
"Show Activity Switcher" = "none";
"manage activities" = "none";
};
kwin = {
"Close Window" = "Meta+Q";
"Window Close" = "Meta+Q";
};
"services/kitty.desktop"."_launch" = "Meta+Return";
};
};
}