nixos-config/common/components/de/plasma5.nix

29 lines
462 B
Nix
Raw Normal View History

2024-05-30 20:37:14 +02:00
{
pkgs,
lib,
...
}: {
2024-04-17 22:28:27 +02:00
imports = [
2024-05-30 20:34:42 +02:00
./sddm.nix
2024-04-17 20:39:12 +02:00
./plasma-packages.nix
];
# Enable Xorg/Plasma5
2024-04-08 20:32:17 +02:00
services.xserver = {
enable = true;
desktopManager.plasma5.enable = true;
};
2024-04-17 20:39:12 +02:00
2024-05-30 20:34:42 +02:00
services.displayManager = {
defaultSession = "plasma";
2024-05-30 20:37:14 +02:00
2024-05-30 20:34:42 +02:00
# Disable Wayland
sddm.wayland.enable = lib.mkForce false;
};
2024-04-17 20:39:12 +02:00
# Use ksshaskpass to access stored secrets
environment.sessionVariables = rec {
2024-04-17 22:28:27 +02:00
GIT_ASKPASS = "ksshaskpass";
2024-04-17 20:39:12 +02:00
};
2024-04-08 20:32:17 +02:00
}