gui: fully switch to plasma6

This commit is contained in:
Aaron Bieber 2024-06-26 12:27:40 -06:00
parent fe5e308fb9
commit cb612d1fda
No known key found for this signature in database

View File

@ -5,7 +5,7 @@
, ... , ...
}: }:
let let
inherit (lib) mkIf mkEnableOption mkMerge mkOption types; inherit (lib) mkIf mkEnableOption mkOption types;
kconnect = mkIf config.kdeConnect.enable kconnect = mkIf config.kdeConnect.enable
(if isUnstable then (if isUnstable then
pkgs.kdePackages.kdeconnect-kde pkgs.kdePackages.kdeconnect-kde
@ -32,20 +32,13 @@ with pkgs;
}; };
config = mkIf config.kde.enable { config = mkIf config.kde.enable {
services = services = {
mkMerge [
(if isUnstable then {
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
displayManager.sddm.enable = true; displayManager.sddm = {
} enable = true;
else { wayland.enable = true;
xserver = { };
desktopManager.plasma5.enable = true;
displayManager.sddm.enable = true;
}; };
})
];
# Listen for KDE Connect connections on the tailnet # Listen for KDE Connect connections on the tailnet
networking.firewall.interfaces = mkIf config.kdeConnect.enable { networking.firewall.interfaces = mkIf config.kdeConnect.enable {
"${config.kdeConnect.interface}" = "${config.kdeConnect.interface}" =