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

89 lines
3.4 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.wallpaper = {
recursive = true;
source = "Bilder/Wallpaper";
target = ../../../assets;
};
#home.file."Bilder/Wallpaper/wallpaper-nix.png".source = ../../../assets/wallpaper-nix.png;
#home.file."Bilder/Wallpaper/wallpaper-asia.jpg".source = ../../../assets/wallpaper-asia.jpg;
#home.file."Bilder/Wallpaper/wallpaper-kame.jpg".source = ../../../assets/wallpaper-kame.jpg;
#home.file."Bilder/Wallpaper/wallpaper-retrogirl.png".source = ../../../assets/wallpaper-retrogirl.png;
#home.file."Bilder/Wallpaper/wallpaper-sword.jpg".source = ../../../assets/wallpaper-sword.jpg;
#home.file."Bilder/Wallpaper/wallpaper-clouds.png".source = ../../../assets/wallpaper-clouds.png;
#home.file."Bilder/Wallpaper/wallpaper-sake.jpg".source = ../../../assets/wallpaper-sake.jpg;
#home.file."Bilder/Wallpaper/wallpaper-street.jpg".source = ../../../assets/wallpaper-street.jpg;
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 = "BreezeHellFarbe";
panels = [
{
location = "bottom";
floating = true;
alignment = "center";
height = 46;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
"org.kde.plasma.kickerdash"
"org.kde.plasma.icontasks"
];
}
{
location = "bottom";
floating = true;
alignment = "right";
height = 36;
lengthMode = "fit";
hiding = "dodgewindows";
widgets = [
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
];
}
];
};
}