rm dotbot; move everything to home manager

This commit is contained in:
cy 2024-12-15 02:14:00 -05:00
parent cedd2c1983
commit c1b64baea7
39 changed files with 7 additions and 37 deletions

4
.gitmodules vendored
View file

@ -1,4 +0,0 @@
[submodule "dotbot"]
path = dotbot
url = https://github.com/anishathalye/dotbot
ignore = dirty

View file

@ -1 +1 @@
this is my dotfiles managed with [dotbot](https://github.com/anishathalye/dotbot/). you should be able to replicate it with just `./install`. there are my dotfiles; managed with [home-manager](https://github.com/nix-community/home-manager/)

View file

@ -1,16 +0,0 @@
- defaults:
link:
relink: true
create: true
- clean: ['~']
- link:
~/.config/nvim:
~/.config/sway:
~/.config/waybar:
~/.config/rofi:
~/.config/foot:
- shell:
- [git submodule update --init --recursive, installing submodules]

1
dotbot

@ -1 +0,0 @@
Subproject commit 720206578a8daf1e7167200e73e314fc4b8af52e

View file

View file

@ -129,4 +129,10 @@
border-color=#ff0000 border-color=#ff0000
''; '';
}; };
xdg.configFile = {
sway.source = ../sway;
rofi.source = ../rofi;
waybar.source = ../waybar;
};
} }

15
install
View file

@ -1,15 +0,0 @@
#!/usr/bin/env bash
set -e
CONFIG="conf.yml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"