nix-config/homeManagerModules/desktop/plasma.nix
2024-11-13 17:12:33 +01:00

29 lines
541 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.krop.hm.desktop.plasma;
in
{
options.krop.hm.desktop.plasma = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Enable my plasma configuration";
};
};
config = lib.mkIf cfg.enable {
programs.plasma = {
enable = true;
workspace = {
theme = "breeze-dark";
lookAndFeel = "org.kde.breezedark.desktop";
wallpaper = "${./assets/nyan_cat.jpg}";
};
};
};
}