nixos-config/modules/user/plasma/default.nix

103 lines
3.6 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 = "center";
height = 50;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
{
name = "org.kde.plasma.kickerdash";
config = {
General = {
icon = "nix-snowflake";
};
};
}
"org.kde.plasma.marginsseparator"
{
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"
"applications:org.kde.plasma-systemmonitor.desktop"
"applications:kdesystemsettings.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
{
systemTray.items = {
shown = [
"org.kde.plasma.bluetooth"
"org.kde.plasma.networkmanagement"
];
};
}
];
}
];
};
}