From 7fa47aff95961a5ce42d2c19a7f0003b4e477dda Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 16 Mar 2024 19:14:28 -0400 Subject: [PATCH] kde: added neochat --- desktop/kde.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 desktop/kde.nix diff --git a/desktop/kde.nix b/desktop/kde.nix new file mode 100644 index 00000000..934e4842 --- /dev/null +++ b/desktop/kde.nix @@ -0,0 +1,32 @@ +{ config, pkgs, ... }: + +{ + imports = + [ # Include X settings. + ./common.nix + ]; + + # Enable the KDE Plasma Desktop Environment. + services.xserver.displayManager.sddm.wayland.enable = true; + services.xserver.desktopManager.plasma6.enable = true; + + environment.systemPackages = with pkgs; [ + kdePackages.discover + kdePackages.kate + kdePackages.kimageformats + kdePackages.kio-gdrive + kdePackages.neochat + maliit-keyboard + ]; + + environment.plasma6.excludePackages = with pkgs.kdePackages; [ + konsole + ]; + + programs.kdeconnect.enable = true; +# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true; +# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto"; + services.gnome.gnome-keyring.enable = true; + security.pam.services.sddm.enableGnomeKeyring = true; + services.packagekit.enable = true; +}