revive plasma module

This commit is contained in:
Sean Buckley 2021-07-23 11:34:58 -04:00
parent 37a0111029
commit b442b0ccc7
2 changed files with 17 additions and 0 deletions

View file

@ -11,6 +11,7 @@
mouse-dpi = ./modules/mouse-dpi.nix;
phpipam = ./modules/phpipam.nix;
pipewire = ./modules/pipewire.nix;
plasma = ./modules/plasma.nix;
profiles = ./modules/profiles.nix;
scansnap_s1300 = ./modules/scansnap_s1300.nix;
scroll-boost = ./modules/scroll-boost;

16
modules/plasma.nix Normal file
View file

@ -0,0 +1,16 @@
{ 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;
desktopManager.plasma5.enable = true;
};
};
}