rm dotbot; move everything to home manager
This commit is contained in:
parent
cedd2c1983
commit
c1b64baea7
39 changed files with 7 additions and 37 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -1,4 +0,0 @@
|
|||
[submodule "dotbot"]
|
||||
path = dotbot
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
ignore = dirty
|
|
@ -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/)
|
||||
|
|
16
conf.yml
16
conf.yml
|
@ -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
dotbot
|
@ -1 +0,0 @@
|
|||
Subproject commit 720206578a8daf1e7167200e73e314fc4b8af52e
|
0
nix/flake.lock → flake.lock
generated
0
nix/flake.lock → flake.lock
generated
|
@ -129,4 +129,10 @@
|
|||
border-color=#ff0000
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
sway.source = ../sway;
|
||||
rofi.source = ../rofi;
|
||||
waybar.source = ../waybar;
|
||||
};
|
||||
}
|
15
install
15
install
|
@ -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}" "${@}"
|
Loading…
Add table
Reference in a new issue