{ config, pkgs, ... }: { programs.plasma = { enable = true; panels = [ { location = "left"; alignment = "center"; floating = true; hiding = "autohide"; height = 32; lengthMode = "fit"; opacity = "translucent"; offset = 50; widgets = [ "org.kde.plasma.kickoff" "org.kde.plasma.icontasks" "org.kde.plasma.pager" "org.kde.plasma.systemtray" "org.kde.plasma.digitalclock" ]; } ]; workspace.lookAndFeel = "org.kde.breezedark.desktop"; desktop = { widgets = [ { name = "org.kde.plasma.digitalclock"; config = { Appearance = { showDate = false; }; }; position = { horizontal = 51; vertical = 100; }; size = { height = 250; width = 250; }; } { name = "org.kde.comicstrip"; config = { }; position = { horizontal = 51; vertical = 500; }; size = { height = 250; width = 250; }; } ]; }; # fonts.fixedWidth = { # family = "Fira Mono"; # pointSize = 11; # }; powerdevil = let settings = { autoSuspend.action = "sleep"; autoSuspend.idleTimeout = 600; dimDisplay.enable = true; dimDisplay.idleTimeout = 300; powerButtonAction = "shutDown"; whenLaptopLidClosed = "sleep"; }; in { AC = settings; battery = settings; }; hotkeys.commands."alacritty-full" = { name = "Launch Alacritty"; key = "Meta+Enter"; command = "alacritty --config-file ./.config/alacritty/alacritty-full.toml"; }; }; programs.okular.enable = true; programs.plasma.input.keyboard.layouts = [ { layout = "de"; } ]; # programs.plasma.kscreenlocker.appearance.wallpaper = ""; }