Changed plasma manager to configure all of KDE Plasma 6.

Removed old Konsave files as they are no longer needed with plasma manager.
This commit is contained in:
2026-02-15 12:13:01 +01:00
parent 2b29515874
commit 1b97c15215
5 changed files with 83 additions and 96 deletions

View File

@ -1,4 +1,4 @@
{pkgs, inputs, username, ...}:
{pkgs, inputs, username, project, ...}:
{
imports = [
@ -6,7 +6,7 @@
programs = {
plasma = {
enable = false;
enable = true;
overrideConfig = true;
panels = [
@ -19,10 +19,76 @@
widgets = [
"org.kde.plasma.kickoff"
"org.kde.plasma.pager"
"org.kde.plasma.marginsseparator"
"org.kde.windowtitle"
"org.kde.plasma.panelspacer"
"org.kde.plasma.systemmonitor.cpu"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
{
name = "org.kde.olib.thermalmonitor";
config = {
General = {
sensors = "[{\"name\":\"Average CPU Temperature\",\"sensorId\":\"cpu/all/averageTemperature\"}]";
};
#ConfigDialog = {
# DialogHeight = 540;
# DialogWidth = 720;
#};
};
}
{
name = "org.kde.plasma.systemmonitor.cpu";
config = {
Appearance = {
chartFace = "org.kde.ksysguard.linechart";
title = "Total CPU Use";
};
SensorColors = {
"cpu/all/usage" = "43,82,120";
};
Sensors = {
highPrioritySensorIds = "[\"cpu/all/usage\"]";
lowPrioritySensorIds = "[\"cpu/all/cpuCount\",\"cpu/all/coreCount\"]";
totalSensors = "[\"cpu/all/usage\"]";
};
General = {
CurrentPreset = "org.kde.plasma.systemmonitor";
};
};
}
"zayron.simple.separator"
{
systemTray.items = {
# Explicitly shown icons (always visible)
shown = [
"Trayscale"
"org.kde.plasma.battery"
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
];
# Explicitly hidden icons (in the popup menu)
hidden = [
"org.kde.plasma.brightness"
"toolbox"
"Yakuake"
"org.kde.plasma.notifications"
"Xwayland Video Bridge_pipewireToXProxy"
"zero-trust-client"
"org.kde.plasma.clipboard"
"org.kde.plasma.bluetooth"
"org.kde.plasma.clipboard"
"org.kde.plasma.printmanager"
"org.kde.plasma.weather"
];
};
}
{
name = "org.kde.plasma.digitalclock";
config = {
Appearance = {
fontWeight = 400;
use24hFormat = 2;
};
};
}
];
}
{
@ -34,15 +100,16 @@
opacity = "translucent";
hiding = "dodgewindows";
widgets = [
"org.kde.plasma.kickerdash"
{
name = "org.kde.plasma.icontasks";
config = {
General = {
launchers = [
# optional pinned apps
"kitty.desktop"
"firefox.desktop"
"org.kde.dolphin.desktop"
"applications:org.kde.dolphin.desktop"
"applications:systemsettings.desktop""applications:kitty.desktop"
"applications:firefox.desktop"
];
};
};
@ -55,7 +122,7 @@
powerdevil = {
# On AC power (plugged in): Minimal power saving
AC = {
powerProfile = "performance";
powerProfile = "powerSaving";
#turnOffDisplay.idleTimeout = 900; # 15 min idle
autoSuspend = {
action = "nothing";
@ -66,7 +133,7 @@
# Normal battery: Balanced saving
battery = {
powerProfile = "balanced";
powerProfile = "powerSaving";
#turnOffDisplay.idleTimeout = 300; # 5 min
autoSuspend = {
action = "nothing";
@ -83,7 +150,7 @@
action = "sleep";
idleTimeout = 300; # 5 min idle
};
whenLaptopLidClosed = "shutDown";
whenLaptopLidClosed = "sleep";
dimDisplay = {
idleTimeout = 60;
};
@ -106,7 +173,7 @@
theme = "Breeze_Light";
size = 24;
};
wallpaper = /home/${username}/NixOS/other/wallpaper2.png;
wallpaper = /home/${username}/${project}/other/wallpaper3.png;
soundTheme = "freedesktop";
iconTheme = "Breeze-LaCapitaine-apps";
splashScreen = {
@ -449,7 +516,7 @@
kscreenlockerrc.Daemon.Timeout = 0;
# kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".Image = "/usr/share/wallpapers/ScarletTree/";
# kscreenlockerrc."Greeter/Wallpaper/org.kde.image/General".PreviewImage = "/usr/share/wallpapers/ScarletTree/";
# ksmserverrc.General.loginMode = "emptySession";
ksmserverrc.General.loginMode = "emptySession";
# ksplashrc.KSplash.Theme = "a2n.kuro";
# kwalletrc.Wallet."First Use" = false;
# kwinrc."Activities/LastVirtualDesktop"."0f8d8349-5b1b-4b77-bfa5-22829bfaf459" = "4a2f44cc-dfe7-45dc-8439-fe34a6866d37";
@ -477,8 +544,8 @@
# kwinrc."Tiling/f18ce12b-2106-508f-9542-e4e6c6fbf75f".tiles = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
# kwinrc.Xwayland.Scale = 2;
kwinrc."org.kde.kdecoration2".BorderSize = "Tiny";
# kwinrc."org.kde.kdecoration2".BorderSizeAuto = false;
# kwinrc."org.kde.kdecoration2".ButtonsOnLeft = "";
kwinrc."org.kde.kdecoration2".BorderSizeAuto = false;
kwinrc."org.kde.kdecoration2".ButtonsOnLeft = "";
# kwinrc."org.kde.kdecoration2".theme = "__aurorae__svg__Nordic";
# plasma-localerc.Formats.LANG = "en_US.UTF-8";
#plasmanotifyrc."Applications/dev.deedles.Trayscale".Seen = true;