2024-03-30 07:27:21 +01:00
|
|
|
{ pkgs, ... }: {
|
2024-07-26 12:33:58 +02:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
# ./set-darkmode-service.nix
|
|
|
|
];
|
|
|
|
|
2023-12-31 16:25:53 +01:00
|
|
|
# Enable sound with pipewire.
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire = {
|
2024-06-21 03:58:53 +02:00
|
|
|
enable = true;
|
2023-12-31 16:25:53 +01:00
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Configure keymap in X11
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2024-04-25 13:20:08 +02:00
|
|
|
xkb.layout = "us";
|
|
|
|
xkb.variant = "";
|
2023-12-31 16:25:53 +01:00
|
|
|
autorun = true;
|
|
|
|
};
|
2024-01-01 06:42:36 +01:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
arc-kde-theme
|
2024-07-04 14:35:17 +02:00
|
|
|
arc-theme
|
|
|
|
kdePackages.plasma-browser-integration
|
2024-07-26 11:54:13 +02:00
|
|
|
|
|
|
|
# Audio button workaround
|
|
|
|
plasma-pa
|
2024-01-01 08:31:11 +01:00
|
|
|
];
|
2024-01-02 13:33:57 +01:00
|
|
|
|
2024-03-22 03:37:18 +01:00
|
|
|
services.xrdp.defaultWindowManager = "startplasma-x11";
|
2024-04-25 13:20:08 +02:00
|
|
|
services.displayManager.sddm.settings.General.DisplayServer = "x11-user";
|
2024-07-26 13:36:45 +02:00
|
|
|
services.desktopManager.plasma6.enable = true;
|
2024-07-26 12:30:33 +02:00
|
|
|
services.geoclue2.enable = true;
|
2024-03-15 14:08:53 +01:00
|
|
|
}
|