pretty config files
Original: squigglezworth/dotfiles
— Mirror for easier fetching: squigzy/squigzy.github.io
The major steps to installing these are...1
- Preseeding
- Preseed a Debian installation with
.preseed
(served atsquigzy.github.io/.preseed
) - The preseed fetches this repo, enables autologin, installs
~/.bashrc
, and creates a blank~/.init
file - After OS installation, on the first login,
~/.bashrc
will see~/.init
and call.setup/init.sh
, which will orchestrate installation & configuration
- Preseed a Debian installation with
- Installing
- The first script
init.sh
calls is.setup/install.sh
, which installs various packages withapt
, and runs some software-specific install scripts, such as for i3-gaps
- The first script
- Configuring
- After installation,
init.sh
calls.setup/config.sh
, which symlinks various config files to their appropriate locations, and handles things like creating/removing directories or restarting services when appropriate
- After installation,
- Final Steps & Cleanup
- Temporary files such as for building are stored in
/tmp
and should be cleaned up by the OS - Before exiting,
init.sh
will prompt the user to run a further backup script to restore sensitive files (i.e., SSH keys) - Once the above scripts have finished,
~/.init
is removed by~/.bashrc
- Finally, the script will prompt the user to reboot
- Temporary files such as for building are stored in
Footnotes
-
...which you really shouldn't do unless you know what you're doing. ↩