nix/modules/nixos/kde-plasma.nix

71 lines
1.9 KiB
Nix
Raw Normal View History

2024-02-02 00:00:54 -06:00
{
pkgs,
lib,
...
}: {
imports = [./pipewire.nix];
2024-03-27 10:38:30 -05:00
# NOTE: Plasma and Kitty seem to have some weird interactions where
# occasionally, kitty's window will try to move or resize and crash the
# compositor. Plasma recovers, but the Kitty window is quite dead and gone.
# This has lost me a few minutes' work when I have not saved a file while
# typing and I go to resize kitty and crash loses my work.
# It is entirely possible that this is due to my configuration, though, and
# not the fault of the applications themselves!
# TODO: I'm switching to wezterm. Will this solve my issue?
# TODO: find an issue to link to?
# https://www.reddit.com/r/kde/comments/ohiwqf/kitty_crashes_plasma_wayland_session/
# https://gitlab.archlinux.org/archlinux/packaging/packages/kitty/-/issues/3
2024-02-02 00:00:54 -06:00
# qt.platformTheme = "gnome";
2024-02-28 22:00:42 -06:00
services.xserver.displayManager.defaultSession = "plasma";
2024-02-02 00:00:54 -06:00
services.xserver.enable = lib.mkDefault true;
2024-02-05 10:01:14 -06:00
services.xserver.displayManager.sddm.enable = true;
2024-03-19 10:25:29 -05:00
services.desktopManager.plasma6.enable = true;
2024-02-02 00:00:54 -06:00
hardware.pulseaudio.enable = false;
qt = {
enable = true;
# platformTheme = "gnome";
# style = "adwaita-dark";
};
programs.dconf.enable = true;
services.dbus.enable = true;
2024-02-02 00:00:54 -06:00
environment = {
variables = {
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
VISUAL = "hx";
PAGER = "less";
MANPAGER = "less";
};
systemPackages = with pkgs; [
inkscape
krita
noto-fonts
vlc
wl-clipboard
libsForQt5.kate
libsForQt5.kdenlive
libsForQt5.merkuro
libsForQt5.kcalc
libsForQt5.neochat
libsForQt5.filelight
libsForQt5.krdc
libsForQt5.krfb
libsForQt5.kclock
libsForQt5.kweather
libsForQt5.ktorrent
libsForQt5.kdevelop
libsForQt5.kdialog
2024-02-05 10:01:14 -06:00
libsForQt5.kdeplasma-addons
2024-02-02 00:00:54 -06:00
];
};
}