nixos-config/modules/plasma.nix

21 lines
593 B
Nix
Raw Normal View History

2021-07-23 15:34:58 +00:00
{ config, pkgs, lib, ... }:
let
cfg = config.sconfig.plasma;
in
{
options.sconfig.plasma = lib.mkEnableOption "Enable Plasma Desktop";
config = lib.mkIf cfg {
services.xserver = {
enable = true;
libinput.enable = true;
displayManager.sddm.enable = true;
2021-10-06 05:00:22 +00:00
displayManager.sddm.settings.Wayland.SessionDir =
"${pkgs.plasma5Packages.plasma-workspace}/share/wayland-sessions";
2021-07-23 15:34:58 +00:00
desktopManager.plasma5.enable = true;
};
2021-07-26 15:16:36 +00:00
hardware.pulseaudio.enable = true;
2021-10-08 04:42:37 +00:00
environment.systemPackages = [ pkgs.arc-theme ]; # fix hand cursor in firefox
2021-07-23 15:34:58 +00:00
};
}