nixos-config/modules/user/plasma/default.nix
Mohamed C. d32462fd31
Some checks are pending
Flake.lock / build (push) Waiting to run
add kde material you colors autostart file
2024-10-11 20:10:37 +02:00

105 lines
3.5 KiB
Nix

{ user, hostName, ... }:
{
home.file."Code/.directory".source = ../../../dotfiles/directory;
home.file.".config/haruna/haruna.conf".source = ../../../dotfiles/haruna.conf;
home.file.".local/share/color-schemes/BreezeDunkelFarbe.colors".source = ../../../dotfiles/BreezeDunkelFarbe.colors;
home.file.".local/share/color-schemes/BreezeHellFarbe.colors".source = ../../../dotfiles/BreezeHellFarbe.colors;
home.file.".config/kwinrulesrc".source = ../../../dotfiles/kwinrulesrc;
home.file.".local/share/user-places.xbel".source = ../../../dotfiles/user-places.xbel-${hostName};
home.file.".config/kglobalshortcutsrc".source = ../../../dotfiles/kglobalshortcutsrc;
home.file.".config/kwinrc".source = ../../../dotfiles/kwinrc;
home.file.".config/krunnerrc".source = ../../../dotfiles/krunnerrc;
home.file.".config/kde-material-you-colors/config.conf".source = ../../../dotfiles/config.conf;
home.file.".config/autostart/kde-material-you-colors.desktop".source = ../../../dotfiles/kde-material-you-colors.desktop;
home.file.wallpaper = {
recursive = true;
source = ../../../assets;
target = "Bilder/Wallpaper";
};
programs.plasma = {
enable = true;
immutableByDefault = false;
workspace.wallpaperSlideShow.path = /home/${user}/Bilder/Wallpaper;
workspace.wallpaperSlideShow.interval = 864000;
kscreenlocker.appearance.wallpaper = "/home/${user}/Bilder/Wallpaper/wallpaper-nix.png";
kscreenlocker.lockOnResume = false;
kscreenlocker.lockOnStartup = false;
kscreenlocker.passwordRequired = false;
fonts = {
menu.family = "IBM Plex Sans";
menu.pointSize = 10;
menu.weight = "normal";
general.family = "IBM Plex Sans";
general.pointSize = 10;
general.weight = "normal";
small.family = "IBM Plex Sans";
small.pointSize = 8;
small.weight = "normal";
toolbar.family = "IBM Plex Sans";
toolbar.pointSize = 10;
toolbar.weight = "normal";
fixedWidth.family = "IBM Plex Mono";
fixedWidth.pointSize = 12;
fixedWidth.weight = "normal";
windowTitle.family = "IBM Plex Sans";
windowTitle.pointSize = 12;
windowTitle.weight = "medium";
};
workspace.cursor = {
size = 24;
theme = "Breeze_Light";
};
workspace.lookAndFeel = "org.kde.breeze.desktop";
workspace.colorScheme = "MaterialYouLight";
panels = [
{
location = "bottom";
floating = true;
alignment = "left";
height = 50;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
"org.kde.plasma.kickerdash"
];
}
{
location = "bottom";
floating = true;
alignment = "center";
height = 50;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
{
iconTasks = {
launchers = [
"applications:org.kde.dolphin.desktop"
"applications:org.kde.konsole.desktop"
"applications:google-chrome.desktop"
"applications:org.kde.kwrite.desktop"
"applications:org.kde.kate.desktop"
"applications:steam.desktop"
"applications:vesktop.desktop"
];
};
}
];
}
{
location = "bottom";
floating = true;
alignment = "right";
height = 36;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
];
}
];
};
}