nixos-config/common/components/de/plasma5.nix
2024-05-30 20:37:14 +02:00

29 lines
462 B
Nix

{
pkgs,
lib,
...
}: {
imports = [
./sddm.nix
./plasma-packages.nix
];
# Enable Xorg/Plasma5
services.xserver = {
enable = true;
desktopManager.plasma5.enable = true;
};
services.displayManager = {
defaultSession = "plasma";
# Disable Wayland
sddm.wayland.enable = lib.mkForce false;
};
# Use ksshaskpass to access stored secrets
environment.sessionVariables = rec {
GIT_ASKPASS = "ksshaskpass";
};
}