mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
revive plasma module
This commit is contained in:
parent
37a0111029
commit
b442b0ccc7
2 changed files with 17 additions and 0 deletions
|
@ -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
16
modules/plasma.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue