remove plasma

This commit is contained in:
twoneis 2024-06-30 18:20:28 +02:00
parent 210e4bb81f
commit 7c4dc74124
5 changed files with 1 additions and 135 deletions

View file

@ -6,11 +6,10 @@
withNiri = true; withNiri = true;
withGnome = false; withGnome = false;
withPlasma = true;
withVM = false; withVM = false;
withContainers = true; withContainers = true;
withGames = true; withGames = false;
hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input"; hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input";
} }

View file

@ -6,7 +6,6 @@
withNiri = true; withNiri = true;
withGnome = false; withGnome = false;
withPlasma = false;
withVM = false; withVM = false;
withContainers = false; withContainers = false;

View file

@ -7,10 +7,6 @@
(if config.withGnome then [ (if config.withGnome then [
./themes ./themes
] else []) ] else [])
(if config.withPlasma then [
./plasma
./themes
] else [])
(if config.full then [ (if config.full then [
./programs ./programs
] else []) ] else [])

View file

@ -1,127 +0,0 @@
{ pkgs, ... }: {
programs.plasma = {
enable = true;
workspace = {
clickItemTo = "open"; # If you liked the click-to-open default from plasma 5
lookAndFeel = "org.kde.breezedark.desktop";
cursor = {
theme = "Bibata-Modern-Ice";
size = 32;
};
iconTheme = "Papirus-Dark";
wallpaper = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Patak/contents/images/1080x1920.png";
};
hotkeys.commands."launch-konsole" = {
name = "Launch Konsole";
key = "Meta+Alt+K";
command = "konsole";
};
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
panels = [
# Windows-like panel at the bottom
{
location = "bottom";
widgets = [
{
name = "org.kde.plasma.kickoff";
config = {
General.icon = "nix-snowflake-white";
};
}
{
name = "org.kde.plasma.icontasks";
config = {
General.launchers = [
"applications:org.kde.dolphin.desktop"
"applications:org.kde.konsole.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time.format = "12h";
};
}
{
systemTray.items = {
shown = [
"org.kde.plasma.battery"
"org.kde.plasma.bluetooth"
];
hidden = [
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
];
};
}
];
hiding = "autohide";
}
{
location = "top";
height = 26;
widgets = [
"org.kde.plasma.appmenu"
];
}
];
window-rules = [
{
description = "Dolphin";
match = {
window-class = {
value = "dolphin";
type = "substring";
};
window-types = [ "normal" ];
};
apply = {
noborder = {
value = true;
apply = "force";
};
maximizehoriz = true;
maximizevert = true;
};
}
];
shortcuts = {
ksmserver = {
"Lock Session" = [ "Screensaver" "Meta+Ctrl+Alt+L" ];
};
kwin = {
"Expose" = "Meta+,";
"Switch Window Down" = "Meta+J";
"Switch Window Left" = "Meta+H";
"Switch Window Right" = "Meta+L";
"Switch Window Up" = "Meta+K";
};
};
configFile = {
baloofilerc."Basic Settings"."Indexing-Enabled" = false;
kwinrc."org.kde.kdecoration2".ButtonsOnLeft = "SF";
kwinrc.Desktops.Number = {
value = 8;
immutable = true;
};
kscreenlockerrc = {
Greeter.WallpaperPlugin = "org.kde.potd";
"Greeter/Wallpaper/org.kde.potd/General".Provider = "bing";
};
};
};
}

View file

@ -7,7 +7,6 @@
withNiri = mkEnableOption "Enable niri compositor"; withNiri = mkEnableOption "Enable niri compositor";
withGnome = mkEnableOption "Enable Gnome"; withGnome = mkEnableOption "Enable Gnome";
withPlasma = mkEnableOption "Enable KDE Plasma";
withVM = mkEnableOption "Enable VM related configuration"; withVM = mkEnableOption "Enable VM related configuration";
withContainers = mkEnableOption "Enable container support"; withContainers = mkEnableOption "Enable container support";