From dddd05638de8330bf2d9c0f69fd490855a60acfe Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 8 Feb 2026 12:08:49 +0100 Subject: [PATCH] Migrate to stow for nix compatibility --- .gitignore | 1 - .gitmodules | 52 +++++++++---------- README.md | 7 +++ .Xresources => legacy/.Xresources | 0 .colordiffrc => legacy/.colordiffrc | 0 .../.config}/Code/User/keybindings.json | 0 .../.config}/Code/User/settings.json | 0 {.config => legacy/.config}/gzdoom/gzdoom.ini | 0 {.config => legacy/.config}/htop/htoprc | 0 {.config => legacy/.config}/nix/nix.conf | 0 .../.config}/zandronum/zandronum.ini | 0 {.gemini => legacy/.gemini}/settings.json | 0 .gitconfig => legacy/.gitconfig | 0 .iftoprc => legacy/.iftoprc | 0 .inputrc => legacy/.inputrc | 0 {.local => legacy/.local}/share/Trash | 0 .my.cnf => legacy/.my.cnf | 0 .pythonstartup => legacy/.pythonstartup | 0 .screenrc => legacy/.screenrc | 0 {.ssh => legacy/.ssh}/config | 0 {.ssh => legacy/.ssh}/ctl/.gitkeep | 0 .../.ssh}/ephemeral_sshd/README.md | 0 .../.ssh}/ephemeral_sshd/sshd_config | 0 {.ssh => legacy/.ssh}/rc | 0 .toprc => legacy/.toprc | 0 .../.vim}/after/ftplugin/groovy.vim | 0 {.vim => legacy/.vim}/after/ftplugin/java.vim | 0 .../.vim}/after/ftplugin/javascript.vim | 0 {.vim => legacy/.vim}/after/ftplugin/json.vim | 0 .../.vim}/after/ftplugin/python.vim | 0 {.vim => legacy/.vim}/after/ftplugin/ruby.vim | 0 {.vim => legacy/.vim}/bundle/auto-pairs | 0 {.vim => legacy/.vim}/bundle/ctrlp.vim | 0 {.vim => legacy/.vim}/bundle/dart-vim-plugin | 0 {.vim => legacy/.vim}/bundle/nerdcommenter | 0 {.vim => legacy/.vim}/bundle/nginx.vim | 0 {.vim => legacy/.vim}/bundle/supertab | 0 {.vim => legacy/.vim}/bundle/vim-javascript | 0 {.vim => legacy/.vim}/bundle/vim-lastplace | 0 {.vim => legacy/.vim}/bundle/vim-pathogen | 0 {.vim => legacy/.vim}/bundle/vim-sensible | 0 {.vim => legacy/.vim}/bundle/vim-showmarks | 0 {.vim => legacy/.vim}/bundle/vim-startify | 0 {.vim => legacy/.vim}/colors/mydark.vim | 0 {.vim => legacy/.vim}/syntax/fasm.vim | 0 {.vim => legacy/.vim}/undo/.gitkeep | 0 .vimrc => legacy/.vimrc | 0 .../data/Machine/settings.json | 0 .zshrc => legacy/.zshrc | 0 .../Code/User/settings.json | 0 {bin => legacy/bin}/backup-home | 0 {bin => legacy/bin}/myargv | 0 {bin => legacy/bin}/pod | 0 53 files changed, 33 insertions(+), 27 deletions(-) delete mode 100644 .gitignore create mode 100644 README.md rename .Xresources => legacy/.Xresources (100%) rename .colordiffrc => legacy/.colordiffrc (100%) rename {.config => legacy/.config}/Code/User/keybindings.json (100%) rename {.config => legacy/.config}/Code/User/settings.json (100%) rename {.config => legacy/.config}/gzdoom/gzdoom.ini (100%) rename {.config => legacy/.config}/htop/htoprc (100%) rename {.config => legacy/.config}/nix/nix.conf (100%) rename {.config => legacy/.config}/zandronum/zandronum.ini (100%) rename {.gemini => legacy/.gemini}/settings.json (100%) rename .gitconfig => legacy/.gitconfig (100%) rename .iftoprc => legacy/.iftoprc (100%) rename .inputrc => legacy/.inputrc (100%) rename {.local => legacy/.local}/share/Trash (100%) rename .my.cnf => legacy/.my.cnf (100%) rename .pythonstartup => legacy/.pythonstartup (100%) rename .screenrc => legacy/.screenrc (100%) rename {.ssh => legacy/.ssh}/config (100%) rename {.ssh => legacy/.ssh}/ctl/.gitkeep (100%) rename {.ssh => legacy/.ssh}/ephemeral_sshd/README.md (100%) rename {.ssh => legacy/.ssh}/ephemeral_sshd/sshd_config (100%) rename {.ssh => legacy/.ssh}/rc (100%) rename .toprc => legacy/.toprc (100%) rename {.vim => legacy/.vim}/after/ftplugin/groovy.vim (100%) rename {.vim => legacy/.vim}/after/ftplugin/java.vim (100%) rename {.vim => legacy/.vim}/after/ftplugin/javascript.vim (100%) rename {.vim => legacy/.vim}/after/ftplugin/json.vim (100%) rename {.vim => legacy/.vim}/after/ftplugin/python.vim (100%) rename {.vim => legacy/.vim}/after/ftplugin/ruby.vim (100%) rename {.vim => legacy/.vim}/bundle/auto-pairs (100%) rename {.vim => legacy/.vim}/bundle/ctrlp.vim (100%) rename {.vim => legacy/.vim}/bundle/dart-vim-plugin (100%) rename {.vim => legacy/.vim}/bundle/nerdcommenter (100%) rename {.vim => legacy/.vim}/bundle/nginx.vim (100%) rename {.vim => legacy/.vim}/bundle/supertab (100%) rename {.vim => legacy/.vim}/bundle/vim-javascript (100%) rename {.vim => legacy/.vim}/bundle/vim-lastplace (100%) rename {.vim => legacy/.vim}/bundle/vim-pathogen (100%) rename {.vim => legacy/.vim}/bundle/vim-sensible (100%) rename {.vim => legacy/.vim}/bundle/vim-showmarks (100%) rename {.vim => legacy/.vim}/bundle/vim-startify (100%) rename {.vim => legacy/.vim}/colors/mydark.vim (100%) rename {.vim => legacy/.vim}/syntax/fasm.vim (100%) rename {.vim => legacy/.vim}/undo/.gitkeep (100%) rename .vimrc => legacy/.vimrc (100%) rename {.vscode-server => legacy/.vscode-server}/data/Machine/settings.json (100%) rename .zshrc => legacy/.zshrc (100%) rename {Library => legacy/Library}/Application Support/Code/User/settings.json (100%) rename {bin => legacy/bin}/backup-home (100%) rename {bin => legacy/bin}/myargv (100%) rename {bin => legacy/bin}/pod (100%) diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 33662f5..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/* diff --git a/.gitmodules b/.gitmodules index 48c1c32..6f9c0a7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,39 +1,39 @@ -[submodule ".vim/bundle/ctrlp.vim"] - path = .vim/bundle/ctrlp.vim +[submodule "legacy/.vim/bundle/ctrlp.vim"] + path = legacy/.vim/bundle/ctrlp.vim url = https://github.com/kien/ctrlp.vim -[submodule ".vim/bundle/vim-startify"] - path = .vim/bundle/vim-startify +[submodule "legacy/.vim/bundle/vim-startify"] + path = legacy/.vim/bundle/vim-startify url = https://github.com/mhinz/vim-startify -[submodule ".vim/bundle/nerdcommenter"] - path = .vim/bundle/nerdcommenter +[submodule "legacy/.vim/bundle/nerdcommenter"] + path = legacy/.vim/bundle/nerdcommenter url = https://github.com/scrooloose/nerdcommenter -[submodule ".vim/bundle/vim-showmarks"] - path = .vim/bundle/vim-showmarks +[submodule "legacy/.vim/bundle/vim-showmarks"] + path = legacy/.vim/bundle/vim-showmarks url = https://github.com/jacquesbh/vim-showmarks -[submodule ".vim/bundle/vim-coffee-script"] - path = .vim/bundle/vim-coffee-script +[submodule "legacy/.vim/bundle/vim-coffee-script"] + path = legacy/.vim/bundle/vim-coffee-script url = https://github.com/kchmck/vim-coffee-script -[submodule ".vim/bundle/nginx.vim"] - path = .vim/bundle/nginx.vim +[submodule "legacy/.vim/bundle/nginx.vim"] + path = legacy/.vim/bundle/nginx.vim url = https://github.com/vim-scripts/nginx.vim -[submodule ".vim/bundle/supertab"] - path = .vim/bundle/supertab +[submodule "legacy/.vim/bundle/supertab"] + path = legacy/.vim/bundle/supertab url = https://github.com/ervandew/supertab -[submodule ".vim/bundle/vim-pathogen"] - path = .vim/bundle/vim-pathogen +[submodule "legacy/.vim/bundle/vim-pathogen"] + path = legacy/.vim/bundle/vim-pathogen url = https://github.com/tpope/vim-pathogen.git -[submodule ".vim/bundle/vim-sensible"] - path = .vim/bundle/vim-sensible +[submodule "legacy/.vim/bundle/vim-sensible"] + path = legacy/.vim/bundle/vim-sensible url = https://github.com/tpope/vim-sensible.git -[submodule ".vim/bundle/auto-pairs"] - path = .vim/bundle/auto-pairs +[submodule "legacy/.vim/bundle/auto-pairs"] + path = legacy/.vim/bundle/auto-pairs url = https://github.com/jiangmiao/auto-pairs -[submodule ".vim/bundle/vim-javascript"] - path = .vim/bundle/vim-javascript +[submodule "legacy/.vim/bundle/vim-javascript"] + path = legacy/.vim/bundle/vim-javascript url = https://github.com/pangloss/vim-javascript.git -[submodule ".vim/bundle/vim-lastplace"] - path = .vim/bundle/vim-lastplace +[submodule "legacy/.vim/bundle/vim-lastplace"] + path = legacy/.vim/bundle/vim-lastplace url = https://github.com/farmergreg/vim-lastplace.git -[submodule ".vim/bundle/dart-vim-plugin"] - path = .vim/bundle/dart-vim-plugin +[submodule "legacy/.vim/bundle/dart-vim-plugin"] + path = legacy/.vim/bundle/dart-vim-plugin url = https://github.com/dart-lang/dart-vim-plugin.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..c066923 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +``` +cd +git clone git@github.com:dotdoom/dotfiles.git +cd dotfiles +git submodule update --init +stow legacy +``` diff --git a/.Xresources b/legacy/.Xresources similarity index 100% rename from .Xresources rename to legacy/.Xresources diff --git a/.colordiffrc b/legacy/.colordiffrc similarity index 100% rename from .colordiffrc rename to legacy/.colordiffrc diff --git a/.config/Code/User/keybindings.json b/legacy/.config/Code/User/keybindings.json similarity index 100% rename from .config/Code/User/keybindings.json rename to legacy/.config/Code/User/keybindings.json diff --git a/.config/Code/User/settings.json b/legacy/.config/Code/User/settings.json similarity index 100% rename from .config/Code/User/settings.json rename to legacy/.config/Code/User/settings.json diff --git a/.config/gzdoom/gzdoom.ini b/legacy/.config/gzdoom/gzdoom.ini similarity index 100% rename from .config/gzdoom/gzdoom.ini rename to legacy/.config/gzdoom/gzdoom.ini diff --git a/.config/htop/htoprc b/legacy/.config/htop/htoprc similarity index 100% rename from .config/htop/htoprc rename to legacy/.config/htop/htoprc diff --git a/.config/nix/nix.conf b/legacy/.config/nix/nix.conf similarity index 100% rename from .config/nix/nix.conf rename to legacy/.config/nix/nix.conf diff --git a/.config/zandronum/zandronum.ini b/legacy/.config/zandronum/zandronum.ini similarity index 100% rename from .config/zandronum/zandronum.ini rename to legacy/.config/zandronum/zandronum.ini diff --git a/.gemini/settings.json b/legacy/.gemini/settings.json similarity index 100% rename from .gemini/settings.json rename to legacy/.gemini/settings.json diff --git a/.gitconfig b/legacy/.gitconfig similarity index 100% rename from .gitconfig rename to legacy/.gitconfig diff --git a/.iftoprc b/legacy/.iftoprc similarity index 100% rename from .iftoprc rename to legacy/.iftoprc diff --git a/.inputrc b/legacy/.inputrc similarity index 100% rename from .inputrc rename to legacy/.inputrc diff --git a/.local/share/Trash b/legacy/.local/share/Trash similarity index 100% rename from .local/share/Trash rename to legacy/.local/share/Trash diff --git a/.my.cnf b/legacy/.my.cnf similarity index 100% rename from .my.cnf rename to legacy/.my.cnf diff --git a/.pythonstartup b/legacy/.pythonstartup similarity index 100% rename from .pythonstartup rename to legacy/.pythonstartup diff --git a/.screenrc b/legacy/.screenrc similarity index 100% rename from .screenrc rename to legacy/.screenrc diff --git a/.ssh/config b/legacy/.ssh/config similarity index 100% rename from .ssh/config rename to legacy/.ssh/config diff --git a/.ssh/ctl/.gitkeep b/legacy/.ssh/ctl/.gitkeep similarity index 100% rename from .ssh/ctl/.gitkeep rename to legacy/.ssh/ctl/.gitkeep diff --git a/.ssh/ephemeral_sshd/README.md b/legacy/.ssh/ephemeral_sshd/README.md similarity index 100% rename from .ssh/ephemeral_sshd/README.md rename to legacy/.ssh/ephemeral_sshd/README.md diff --git a/.ssh/ephemeral_sshd/sshd_config b/legacy/.ssh/ephemeral_sshd/sshd_config similarity index 100% rename from .ssh/ephemeral_sshd/sshd_config rename to legacy/.ssh/ephemeral_sshd/sshd_config diff --git a/.ssh/rc b/legacy/.ssh/rc similarity index 100% rename from .ssh/rc rename to legacy/.ssh/rc diff --git a/.toprc b/legacy/.toprc similarity index 100% rename from .toprc rename to legacy/.toprc diff --git a/.vim/after/ftplugin/groovy.vim b/legacy/.vim/after/ftplugin/groovy.vim similarity index 100% rename from .vim/after/ftplugin/groovy.vim rename to legacy/.vim/after/ftplugin/groovy.vim diff --git a/.vim/after/ftplugin/java.vim b/legacy/.vim/after/ftplugin/java.vim similarity index 100% rename from .vim/after/ftplugin/java.vim rename to legacy/.vim/after/ftplugin/java.vim diff --git a/.vim/after/ftplugin/javascript.vim b/legacy/.vim/after/ftplugin/javascript.vim similarity index 100% rename from .vim/after/ftplugin/javascript.vim rename to legacy/.vim/after/ftplugin/javascript.vim diff --git a/.vim/after/ftplugin/json.vim b/legacy/.vim/after/ftplugin/json.vim similarity index 100% rename from .vim/after/ftplugin/json.vim rename to legacy/.vim/after/ftplugin/json.vim diff --git a/.vim/after/ftplugin/python.vim b/legacy/.vim/after/ftplugin/python.vim similarity index 100% rename from .vim/after/ftplugin/python.vim rename to legacy/.vim/after/ftplugin/python.vim diff --git a/.vim/after/ftplugin/ruby.vim b/legacy/.vim/after/ftplugin/ruby.vim similarity index 100% rename from .vim/after/ftplugin/ruby.vim rename to legacy/.vim/after/ftplugin/ruby.vim diff --git a/.vim/bundle/auto-pairs b/legacy/.vim/bundle/auto-pairs similarity index 100% rename from .vim/bundle/auto-pairs rename to legacy/.vim/bundle/auto-pairs diff --git a/.vim/bundle/ctrlp.vim b/legacy/.vim/bundle/ctrlp.vim similarity index 100% rename from .vim/bundle/ctrlp.vim rename to legacy/.vim/bundle/ctrlp.vim diff --git a/.vim/bundle/dart-vim-plugin b/legacy/.vim/bundle/dart-vim-plugin similarity index 100% rename from .vim/bundle/dart-vim-plugin rename to legacy/.vim/bundle/dart-vim-plugin diff --git a/.vim/bundle/nerdcommenter b/legacy/.vim/bundle/nerdcommenter similarity index 100% rename from .vim/bundle/nerdcommenter rename to legacy/.vim/bundle/nerdcommenter diff --git a/.vim/bundle/nginx.vim b/legacy/.vim/bundle/nginx.vim similarity index 100% rename from .vim/bundle/nginx.vim rename to legacy/.vim/bundle/nginx.vim diff --git a/.vim/bundle/supertab b/legacy/.vim/bundle/supertab similarity index 100% rename from .vim/bundle/supertab rename to legacy/.vim/bundle/supertab diff --git a/.vim/bundle/vim-javascript b/legacy/.vim/bundle/vim-javascript similarity index 100% rename from .vim/bundle/vim-javascript rename to legacy/.vim/bundle/vim-javascript diff --git a/.vim/bundle/vim-lastplace b/legacy/.vim/bundle/vim-lastplace similarity index 100% rename from .vim/bundle/vim-lastplace rename to legacy/.vim/bundle/vim-lastplace diff --git a/.vim/bundle/vim-pathogen b/legacy/.vim/bundle/vim-pathogen similarity index 100% rename from .vim/bundle/vim-pathogen rename to legacy/.vim/bundle/vim-pathogen diff --git a/.vim/bundle/vim-sensible b/legacy/.vim/bundle/vim-sensible similarity index 100% rename from .vim/bundle/vim-sensible rename to legacy/.vim/bundle/vim-sensible diff --git a/.vim/bundle/vim-showmarks b/legacy/.vim/bundle/vim-showmarks similarity index 100% rename from .vim/bundle/vim-showmarks rename to legacy/.vim/bundle/vim-showmarks diff --git a/.vim/bundle/vim-startify b/legacy/.vim/bundle/vim-startify similarity index 100% rename from .vim/bundle/vim-startify rename to legacy/.vim/bundle/vim-startify diff --git a/.vim/colors/mydark.vim b/legacy/.vim/colors/mydark.vim similarity index 100% rename from .vim/colors/mydark.vim rename to legacy/.vim/colors/mydark.vim diff --git a/.vim/syntax/fasm.vim b/legacy/.vim/syntax/fasm.vim similarity index 100% rename from .vim/syntax/fasm.vim rename to legacy/.vim/syntax/fasm.vim diff --git a/.vim/undo/.gitkeep b/legacy/.vim/undo/.gitkeep similarity index 100% rename from .vim/undo/.gitkeep rename to legacy/.vim/undo/.gitkeep diff --git a/.vimrc b/legacy/.vimrc similarity index 100% rename from .vimrc rename to legacy/.vimrc diff --git a/.vscode-server/data/Machine/settings.json b/legacy/.vscode-server/data/Machine/settings.json similarity index 100% rename from .vscode-server/data/Machine/settings.json rename to legacy/.vscode-server/data/Machine/settings.json diff --git a/.zshrc b/legacy/.zshrc similarity index 100% rename from .zshrc rename to legacy/.zshrc diff --git a/Library/Application Support/Code/User/settings.json b/legacy/Library/Application Support/Code/User/settings.json similarity index 100% rename from Library/Application Support/Code/User/settings.json rename to legacy/Library/Application Support/Code/User/settings.json diff --git a/bin/backup-home b/legacy/bin/backup-home similarity index 100% rename from bin/backup-home rename to legacy/bin/backup-home diff --git a/bin/myargv b/legacy/bin/myargv similarity index 100% rename from bin/myargv rename to legacy/bin/myargv diff --git a/bin/pod b/legacy/bin/pod similarity index 100% rename from bin/pod rename to legacy/bin/pod