148 lines
4 KiB
Nix
148 lines
4 KiB
Nix
{ config, theme, ... }: {
|
|
|
|
programs.konsole = {
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.plasma = {
|
|
enable = true;
|
|
overrideConfig = false;
|
|
configFile = {
|
|
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 window border size
|
|
"org.kde.kdecoration2" = {
|
|
BorderSize = "None";
|
|
BorderSizeAuto = false;
|
|
};
|
|
|
|
# Set NightLight coordinates
|
|
NightColor = {
|
|
Active = true;
|
|
Mode = "Location";
|
|
NightTemperature = 4500;
|
|
LatitudeFixed = config.services.darkman.settings.lat;
|
|
LongitudeFixed = config.services.darkman.settings.lng;
|
|
};
|
|
|
|
# Set Virtual Desktops
|
|
Desktops = {
|
|
Rows = 1;
|
|
Number = {
|
|
value = 4;
|
|
immutable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
workspace = {
|
|
clickItemTo = "select";
|
|
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
|
theme = "Arc-Dark";
|
|
colorScheme = "Arc Color";
|
|
cursor.theme = "Adwaita";
|
|
};
|
|
|
|
panels = [
|
|
{
|
|
location = "bottom";
|
|
floating = true;
|
|
height = 38;
|
|
|
|
widgets = [
|
|
{
|
|
name = "org.kde.plasma.kicker";
|
|
config = {
|
|
General.icon = "draw-circle";
|
|
# 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"
|
|
"applications:logseq.desktop"
|
|
];
|
|
};
|
|
}
|
|
"org.kde.plasma.marginsseparator"
|
|
"org.kde.plasma.pager"
|
|
{
|
|
systemTray = {
|
|
icons.spacing = "small";
|
|
items = {
|
|
shown = [
|
|
"org.kde.plasma.volume"
|
|
"org.kde.plasma.networkmanagement"
|
|
];
|
|
hidden = [
|
|
"org.kde.plasma.bluetooth"
|
|
"org.kde.plasma.notifications"
|
|
"org.kde.plasma.microphone"
|
|
"org.kde.plasma.mediaplayer"
|
|
"org.kde.plasma.manage-inputmethod"
|
|
"org.kde.plasma.keyboardindicator"
|
|
"org.kde.plasma.keyboardlayout"
|
|
"org.kde.plasma.cameraindicator"
|
|
"org.kde.plasma.brightness"
|
|
"org.kde.plasma.nightlight"
|
|
"org.kde.plasma.clipboard"
|
|
"org.kde.plasma.browserintegration"
|
|
"org.kde.plasma.plasmabrowserintegration"
|
|
"org.kde.plasma.browser"
|
|
"org.kde.plasma.kleopatra"
|
|
"org.kde.kleopatra"
|
|
"kleopatra"
|
|
"steam"
|
|
"remmina"
|
|
"vlc"
|
|
"battlenet"
|
|
"battle.net"
|
|
];
|
|
};
|
|
};
|
|
}
|
|
{
|
|
digitalClock = {
|
|
calendar.firstDayOfWeek = "sunday";
|
|
time = {
|
|
format = "24h";
|
|
showSeconds = "never";
|
|
};
|
|
date.enable = false;
|
|
};
|
|
}
|
|
];
|
|
}
|
|
];
|
|
fonts = {
|
|
general = {
|
|
family = "JetBrains Mono";
|
|
pointSize = 12;
|
|
};
|
|
};
|
|
};
|
|
}
|