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

145 lines
3.8 KiB
Nix
Raw Normal View History

2024-07-30 03:33:42 +02:00
{ config, theme, ... }: {
2024-06-21 02:25:43 +02:00
programs.konsole = {
2024-07-29 03:51:38 +02:00
enable = true;
defaultProfile = "default";
profiles.default = {
name = "default";
colorScheme = "Breeze";
extraConfig = {
Appearance = {
Font = "JetBrainsMono NF,10,-1,5,800,0,0,0,0,0,0,0,0,0,0,1,Regular";
};
2024-06-21 02:25:43 +02:00
};
};
};
programs.plasma = {
2024-06-20 06:13:57 +02:00
enable = true;
2024-07-29 09:34:40 +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;
NightTemperature = 3600;
2024-06-20 07:14:56 +02:00
};
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-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";
2024-10-02 02:56:57 +02:00
colorScheme = "Arc Color";
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 = {
2024-09-24 14:58:47 +02:00
General.icon = "draw-circle";
# General.icon = "nix-snowflake-white";
2024-06-19 15:06:09 +02:00
};
}
{
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-08-15 02:41:03 +02:00
"applications:logseq.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-08-14 06:37:11 +02:00
"org.kde.plasma.kleopatra"
"org.kde.kleopatra"
"kleopatra"
2024-06-28 09:06:33 +02:00
"steam"
"remmina"
2024-10-18 04:39:25 +02:00
"vlc"
2024-11-28 20:52:23 +01:00
"Battle.net"
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
}