33 lines
833 B
Nix
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";
|
|
};
|
|
};
|
|
}
|