From 58dcc17440681c64c5a5fea0ec98f06adc4b9325 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 3 Aug 2025 21:44:24 +0200 Subject: [PATCH] Add stow --- machines/fujin/main/default.nix | 3 +++ .../{doom-configs => dotfiles/.config/doom}/config.el | 0 .../main/{doom-configs => dotfiles/.config/doom}/init.el | 0 .../{doom-configs => dotfiles/.config/doom}/packages.el | 0 machines/fujin/main/dotfiles/REAME.org | 9 +++++++++ 5 files changed, 12 insertions(+) rename machines/fujin/main/{doom-configs => dotfiles/.config/doom}/config.el (100%) rename machines/fujin/main/{doom-configs => dotfiles/.config/doom}/init.el (100%) rename machines/fujin/main/{doom-configs => dotfiles/.config/doom}/packages.el (100%) create mode 100644 machines/fujin/main/dotfiles/REAME.org diff --git a/machines/fujin/main/default.nix b/machines/fujin/main/default.nix index b2b68a6..3c93c8e 100644 --- a/machines/fujin/main/default.nix +++ b/machines/fujin/main/default.nix @@ -16,6 +16,9 @@ packages = with pkgs; [ # thunar plugin to manager archives xfce.thunar-archive-plugin + + # Stow, to manage my doom emacs configs + stow ]; }; diff --git a/machines/fujin/main/doom-configs/config.el b/machines/fujin/main/dotfiles/.config/doom/config.el similarity index 100% rename from machines/fujin/main/doom-configs/config.el rename to machines/fujin/main/dotfiles/.config/doom/config.el diff --git a/machines/fujin/main/doom-configs/init.el b/machines/fujin/main/dotfiles/.config/doom/init.el similarity index 100% rename from machines/fujin/main/doom-configs/init.el rename to machines/fujin/main/dotfiles/.config/doom/init.el diff --git a/machines/fujin/main/doom-configs/packages.el b/machines/fujin/main/dotfiles/.config/doom/packages.el similarity index 100% rename from machines/fujin/main/doom-configs/packages.el rename to machines/fujin/main/dotfiles/.config/doom/packages.el diff --git a/machines/fujin/main/dotfiles/REAME.org b/machines/fujin/main/dotfiles/REAME.org new file mode 100644 index 0000000..0a3554d --- /dev/null +++ b/machines/fujin/main/dotfiles/REAME.org @@ -0,0 +1,9 @@ +#+title: Stow managed files + +* Why +These dotfiles managed by stow as I tend to tinker with them from time to time and manage them with home-manager is not very practical as you would need to do switch everytime you do the change in order to apply it, but stow just creates symlinks to the files and I can easily have them in repo and use them as configs else where. + +* How to +#+begin_src bash +stow --target=$HOME . +#+end_src