41 lines
925 B
Nix
41 lines
925 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; [
|
|
arc-kde-theme
|
|
arc-theme
|
|
kdePackages.plasma-browser-integration
|
|
kdePackages.kleopatra # GPG GUI
|
|
kdePackages.krdc # K Remote Desktop
|
|
kdePackages.kasts # Podcast player
|
|
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;
|
|
}
|