mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-18 17:04:52 +00:00
applied
This commit is contained in:
parent
32f8cc2a28
commit
f01ee2d84b
6 changed files with 58 additions and 9 deletions
|
|
@ -1,4 +1,16 @@
|
|||
{...}: {
|
||||
{lib, ...}: {
|
||||
home.activation.removeLegacyTmuxLink = lib.hm.dag.entryBefore ["checkLinkTargets"] ''
|
||||
path="$HOME/.config/tmux/tmux.conf"
|
||||
if [ -L "$path" ]; then
|
||||
target="$(readlink "$path")"
|
||||
case "$target" in
|
||||
../../dots/tmux/*|dots/tmux/*|"$HOME"/dots/tmux/*)
|
||||
rm -f "$path"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue