NixOS/core/plasma5.nix

39 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2023-12-15 22:14:53 +00:00
{ pkgs, lib, config, ... }:
let
settings = import ./../settings.nix;
in
{
# Enable the X11 windowing system.
services.xserver.enable = true;
# Configure keymap in X11
services.xserver = {
layout = "de";
xkbVariant = "";
};
2023-12-24 12:38:08 +00:00
# SDDM
2023-12-15 22:14:53 +00:00
services.xserver.displayManager.sddm.enable = true;
2023-12-24 12:38:08 +00:00
services.xserver.displayManager.sddm.wayland.enable = true;
services.xserver.displayManager.defaultSession = "plasmawayland"; # set wayland as default session
# Enable the KDE Plasma Desktop Environment.
services.xserver.desktopManager.plasma5.enable = true;
2023-12-15 22:14:53 +00:00
# exclude packages from plasma5
environment.plasma5.excludePackages = settings.plasma5.excludePackages;
programs.dconf.enable = settings.plasma5.dconf;
programs.xwayland.enable = settings.plasma5.xwayland;
environment.systemPackages = (with pkgs; [
filelight
2023-12-24 12:38:08 +00:00
]);
programs.partition-manager.enable = true;
environment.sessionVariables = rec {
GTK_THEME = "Breeze-Dark";
};
2023-12-15 22:14:53 +00:00
}