nixos-config/modules/plasma.nix

19 lines
469 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 {
2024-05-27 21:10:14 +00:00
services.libinput.enable = true;
2021-07-23 15:34:58 +00:00
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
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
};
}