add plasma-manager for plasma config

This commit is contained in:
Katherina Walshe-Grey 2024-09-12 11:42:31 +01:00
parent cb6d7f7837
commit b18e50fd4a
5 changed files with 47 additions and 2 deletions

View file

@ -1,6 +1,7 @@
{
imports = [
./dconf
./plasma
./cli.nix
./firefox.nix
./git.nix

View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, osConfig, ... }:
let
isPlasma = osConfig.services.desktopManager.plasma6.enable || osConfig.services.xserver.desktopManager.plasma5.enable;
in
{
programs.plasma.enable = isPlasma;
programs.plasma.overrideConfig = true;
imports = [ ];
}