nix/nixos/common/desktops/plasma6/default.nix
2024-07-26 19:33:58 +09:00

37 lines
795 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;
};
services.desktopManager.plasma6.enable = true;
environment.systemPackages = with pkgs; [
arc-kde-theme
arc-theme
kdePackages.plasma-browser-integration
# Audio button workaround
plasma-pa
];
services.xrdp.defaultWindowManager = "startplasma-x11";
services.displayManager.sddm.settings.General.DisplayServer = "x11-user";
services.geoclue2.enable = true;
}