nix/home-manager/common/desktops/plasma6/plasma-manager.nix

111 lines
2.9 KiB
Nix
Raw Normal View History

2024-06-19 15:06:09 +02:00
{ theme, ... }: {
2024-01-01 06:42:36 +01:00
programs.plasma = {
2024-06-20 06:13:57 +02:00
enable = true;
overrideConfig = true;
2024-06-19 15:41:22 +02:00
configFile = {
2024-06-20 07:14:56 +02:00
kscreenlockerrc = {
# Set Lock Screen Wallpaper
"Greeter/Wallpaper/org.kde.image/General" = {
Image = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
PreviewImage = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
};
};
kwinrc = {
# Set NightLight coordinates
NightColor = {
Active = true;
Mode = "Location";
LatitudeFixed = 34.6583850931677;
LongitudeFixed = 138.0368098159509;
};
# Set Virtual Desktops
Desktops = {
2024-06-20 07:19:40 +02:00
Rows = 1;
2024-06-20 07:14:56 +02:00
Number = {
value = 4;
immutable = true;
};
};
};
2024-06-19 15:41:22 +02:00
};
2024-06-19 15:06:09 +02:00
workspace = {
2024-06-19 15:41:22 +02:00
clickItemTo = "select";
2024-06-19 15:06:09 +02:00
iconTheme = "Papirus-Dark";
2024-06-20 06:17:09 +02:00
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
2024-06-19 15:06:09 +02:00
theme = "Arc-Dark";
colorScheme = "Arc";
2024-06-20 07:19:40 +02:00
cursor.theme = "Adwaita";
2024-06-20 07:14:56 +02:00
};
2024-06-19 15:06:09 +02:00
panels = [
{
location = "bottom";
2024-06-19 15:41:22 +02:00
floating = true;
2024-06-20 06:33:01 +02:00
height = 38;
2024-06-19 15:41:22 +02:00
2024-06-19 15:06:09 +02:00
widgets = [
{
2024-06-20 06:33:01 +02:00
name = "org.kde.plasma.kicker";
2024-06-19 15:06:09 +02:00
config = {
General.icon = "nix-snowflake-white";
};
}
{
name = "org.kde.plasma.icontasks";
config = {
General.launchers = [
"applications:org.kde.dolphin.desktop"
"applications:firefox.desktop"
"applications:bitwarden.desktop"
"applications:org.kde.konsole.desktop"
"applications:steam.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
2024-06-19 15:25:59 +02:00
"org.kde.plasma.pager"
2024-06-19 15:06:09 +02:00
{
2024-06-19 16:18:23 +02:00
systemTray = {
icons.spacing = "small";
2024-06-19 15:06:09 +02:00
items = {
shown = [
"org.kde.plasma.volume"
"org.kde.plasma.networkmanagement"
];
hidden = [
"org.kde.plasma.bluetooth"
"org.kde.plasma.mediaplayer"
"org.kde.plasma.manage-inputmethod"
"org.kde.plasma.keyboardindicator"
"org.kde.plasma.keyboardlayout"
"org.kde.plasma.cameraindicator"
2024-06-19 16:09:35 +02:00
"org.kde.plasma.brightness"
2024-06-19 16:11:12 +02:00
"org.kde.plasma.nightlight"
2024-06-20 06:33:01 +02:00
"org.kde.plasma.clipboard"
2024-06-19 15:06:09 +02:00
];
};
};
}
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time = {
format = "24h";
showSeconds = "never";
};
2024-06-19 15:41:22 +02:00
date.enable = false;
2024-06-19 15:06:09 +02:00
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
2024-01-01 06:42:36 +01:00
};
};
2024-01-02 09:46:23 +01:00
}