Rebase to flake parts #8
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.desktopPlasma =
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.chiasson.desktop;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.plasma.enable {
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
environment.etc."xdg/menus/applications.menu".text =
|
||||
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user