begin migration to dendritic pattern

This commit is contained in:
greyweather committed 2026-08-27 00:50:33 +01:00
1 parent 4a081aef50
commit 7245e872f6
153 files changed
+3352 -53

No files matched your search

+68
View File
@@ -0,0 +1,68 @@
{
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;
}