nix/nixos/common/desktops/plasma6/default.nix
2024-11-18 19:48:36 +01:00

43 lines
984 B
Nix

{ pkgs, ... }: {
imports = [
# ./set-darkmode-service.nix
];
# Enable sound with pipewire.
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Configure keymap in X11
services.xserver = {
enable = true;
xkb.layout = "us";
xkb.variant = "";
autorun = true;
};
environment.systemPackages = with pkgs; [
nmapsi4 # Qt nmap GUI
arc-kde-theme
arc-theme
kdePackages.plasma-browser-integration
kdePackages.kleopatra # GPG GUI
kdePackages.krdc # K Remote Desktop
kdePackages.kasts # Podcast player
kdePackages.kdesu # KDE Su
kde-gruvbox
gruvbox-gtk-theme
# Audio button workaround
# plasma-pa
];
services.xrdp.defaultWindowManager = "startplasma-x11";
services.displayManager.sddm.settings.General.DisplayServer = "x11-user";
services.desktopManager.plasma6.enable = true;
}