{ pkgs, lib, inputs, ... }: { imports = [ inputs.plasma-manager.homeModules.plasma-manager ]; home.packages = [ pkgs.papirus-icon-theme pkgs.kdePackages.oxygen pkgs.kdePackages.oxygen-sounds ]; home.activation = { linkKdeConfigs = lib.hm.dag.entryAfter ["writeBoundary"] '' #!/bin/bash cd /home/grey/nixos/assets/dotfiles/takamaki/kde-config for file in $PWD/*; do filename=$(basename $file) if [ -f /home/grey/.config/$filename ]; then rm /home/grey/.config/$filename fi ln -s $file /home/grey/.config/$filename done ''; linkCustomShortcuts = lib.hm.dag.entryAfter ["writeBoundary"] '' #!/bin/bash cd /home/grey/nixos/assets/dotfiles/takamaki/kde-custom-shortcuts for file in $PWD/*; do filename=$(basename $file) if [ -f /home/grey/.local/share/applications/$filename ]; then rm /home/grey/.local/share/applications/$filename fi ln -s $file /home/grey/.local/share/applications/$filename done ''; linkThemingAssets = lib.hm.dag.entryAfter ["writeBoundary"] '' #!/bin/bash if [ -d /home/grey/.local/share/wallpapers/ExposeAir ]; then rm -rf /home/grey/.local/share/wallpapers/ExposeAir else mkdir -p /home/grey/.local/share/wallpapers fi ln -s /home/grey/nixos/assets/expose-air/wallpapers/ExposeAir /home/grey/.local/share/wallpapers/ExposeAir if [ -f /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors ]; then rm /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors else mkdir -p /home/grey/.local/share/color-schemes fi ln -s /home/grey/nixos/assets/dotfiles/takamaki/OxygenDarkEdit.colors /home/grey/.local/share/color-schemes/OxygenDarkEdit.colors if [ -d /home/grey/.local/share/plasma/desktoptheme/exposeair ]; then rm -rf /home/grey/.local/share/plasma/desktoptheme/exposeair else mkdir -p /home/grey/.local/share/plasma/desktoptheme fi ln -s /home/grey/nixos/assets/expose-air/desktoptheme/exposeair /home/grey/.local/share/plasma/desktoptheme/exposeair ''; }; programs.plasma.enable = true; }