- niri + noctalia dotfiles are now manually symlinked - zsh being extremely slow is fixed - stylix is now used for easier themeing of apps
34 lines
1023 B
Nix
34 lines
1023 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
home.packages = with pkgs; [
|
|
gnome-calculator
|
|
nautilus
|
|
];
|
|
|
|
home.activation = {
|
|
symlinkNiriConfig = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
#!/bin/bash
|
|
if [ -f /home/grey/.config/niri/config.kdl ]; then
|
|
rm /home/grey/.config/niri/config.kdl
|
|
fi
|
|
ln -s /home/grey/nixos/assets/dotfiles/niri.kdl /home/grey/.config/niri/config.kdl
|
|
'';
|
|
|
|
symlinkNoctaliaState = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
#!/bin/bash
|
|
if [ -f /home/grey/.local/state/noctalia/settings.toml ]; then
|
|
rm /home/grey/.local/state/noctalia/settings.toml
|
|
fi
|
|
ln -s /home/grey/nixos/assets/dotfiles/noctalia-state/settings.toml /home/grey/.local/state/noctalia/settings.toml
|
|
|
|
if [ -d /home/grey/.local/state/noctalia/plugins ]; then
|
|
rm -rf /home/grey/.local/state/noctalia/plugins
|
|
fi
|
|
ln -s /home/grey/nixos/assets/dotfiles/noctalia-state/plugins /home/grey/.local/state/noctalia/plugins
|
|
'';
|
|
};
|
|
} |