Files
nixos-blueprint/modules/home/desktop/plasma/default.nix
unexplrd 2e6e28ef32 initial
2025-02-06 00:33:06 +02:00

33 lines
833 B
Nix

{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.desktop.plasma;
in {
options = {
desktop.plasma.enable =
mkEnableOption "enable plasma desktop";
};
config = mkIf cfg.enable {
stylix.targets.kde.enable = true;
home.packages = with pkgs; [
wl-clipboard
];
xdg.userDirs = {
enable = true;
createDirectories = true;
templates = "${config.home.homeDirectory}/temps";
publicShare = "${config.home.homeDirectory}/pub";
desktop = "${config.home.homeDirectory}/desktop";
download = "${config.home.homeDirectory}/downloads";
documents = "${config.home.homeDirectory}/docs";
pictures = "${config.home.homeDirectory}/pics";
videos = "${config.home.homeDirectory}/vids";
music = "${config.home.homeDirectory}/music";
};
};
}