gui: fully switch to plasma6
This commit is contained in:
parent
fe5e308fb9
commit
cb612d1fda
19
gui/kde.nix
19
gui/kde.nix
@ -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}" =
|
||||||
|
Loading…
Reference in New Issue
Block a user