initial
This commit is contained in:
32
modules/home/desktop/plasma/default.nix
Normal file
32
modules/home/desktop/plasma/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user