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

140 lines
3.7 KiB
Nix
Raw Normal View History

2024-06-19 15:06:09 +02:00
{ theme, ... }: {
2024-06-21 02:25:43 +02:00
programs.konsole = {
defaultProfile = "Default";
profiles.Default = {
name = "Default";
font = {
2024-06-27 08:34:39 +02:00
name = "Jetbrains Mono NF";
2024-06-21 02:25:43 +02:00
};
};
};
programs.plasma = {
2024-06-20 06:13:57 +02:00
enable = true;
2024-07-28 08:04:06 +02:00
overrideConfig = false;
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";
};
2024-06-20 14:56:04 +02:00
};
2024-07-27 05:39:09 +02:00
kwinrc = {
2024-06-20 12:26:40 +02:00
# Set window border size
"org.kde.kdecoration2" = {
BorderSize = "None";
BorderSizeAuto = false;
};
2024-06-20 14:56:04 +02:00
2024-06-20 07:14:56 +02:00
# Set NightLight coordinates
NightColor = {
Active = true;
Mode = "Location";
2024-06-20 14:56:04 +02:00
NightTemperature = 3500;
2024-06-20 07:14:56 +02:00
LatitudeFixed = 34.6583850931677;
LongitudeFixed = 138.0368098159509;
};
2024-06-20 14:56:04 +02:00
2024-06-20 07:14:56 +02:00
# 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-21 14:59:36 +02:00
# iconTheme = "Breeze";
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"
2024-07-28 11:22:40 +02:00
"applications:net.lutris.lutris.desktop"
"applications:org.darktable.darktable.desktop"
2024-06-19 15:06:09 +02:00
];
};
}
"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"
2024-07-27 14:28:15 +02:00
"org.kde.plasma.notifications"
"org.kde.plasma.microphone"
2024-06-19 15:06:09 +02:00
"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-07-28 08:04:06 +02:00
"org.kde.plasma.browserintegration"
"org.kde.plasma.plasmabrowserintegration"
"org.kde.plasma.browser"
2024-06-28 09:06:33 +02:00
"steam"
"remmina"
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
}