nix-config/homeManagerModules/desktop/plasma.nix

30 lines
541 B
Nix
Raw Normal View History

2024-11-13 11:27:41 +01:00
{
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 {
2024-11-13 11:48:16 +01:00
programs.plasma = {
enable = true;
2024-11-13 16:03:38 +01:00
workspace = {
theme = "breeze-dark";
2024-11-13 17:12:33 +01:00
lookAndFeel = "org.kde.breezedark.desktop";
wallpaper = "${./assets/nyan_cat.jpg}";
2024-11-13 16:03:38 +01:00
};
2024-11-13 11:48:16 +01:00
};
2024-11-13 11:27:41 +01:00
};
}