blob: 0d847b47625814e87442df62a88e0a6fe5795907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
config,
lib,
pkgs,
inputs',
...
}:
let
cfg = config.desktop.plasma;
in
{
options.desktop.plasma.enable = lib.mkEnableOption "Plasma desktop";
config = lib.mkIf cfg.enable {
environment = {
plasma6.excludePackages = with pkgs.kdePackages; [
discover
khelpcenter
konsole
plasma-browser-integration
];
systemPackages = [
inputs'.krunner-nix.packages.default # thank you leah
pkgs.ghostty
pkgs.haruna # mpv frontend
];
};
services = {
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
desktopManager.plasma6.enable = true;
};
};
}
|