shione/README.md

51 lines
1.5 KiB
Markdown
Raw Normal View History

2022-09-08 06:51:16 -04:00
# Nichijou
2023-12-24 14:41:52 -05:00
Experimental Debian packaging and configuration. This project is mainly for
2022-09-08 06:51:16 -04:00
educational purposes. However, the aim is to produce a per-host shared
configuration that would suit my real world usage.
2023-12-24 14:41:52 -05:00
## Host machines
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
### Siga
2022-09-08 06:51:16 -04:00
[Desktop PC](https://shione.net/2023/06/18/siga-desktop.html) running GNU/Linux
Debian stable.
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
### Tabi
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
Lenovo Thinkpad x260 laptop running GNU/Linux Debian stable.
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
### Shione
2022-09-08 06:51:16 -04:00
[NiPoGi CK10](https://shione.net/2023/12/23/self-hosting-shione.html) Mini PC
server running GNU/Linux Debian stable.
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
## HOWTO
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
Because all of my machines run GNU/Linux Debian, I wish to transform
per-package config into `.deb` packages themselves. This project is basically
an application of
[`config-package-dev`](https://debathena.mit.edu/config-package-dev/). This
will allow me to integrate the modifications I introduce to the said packages
within the Debian packaging system which comes with many benefits.
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
1. Quickly rebuild a host machine from scratch if needed.
2. Know the configuration state of each machine using the package manager.
3. Automatically update configuration by updating the system itself.
4. Integrate complex post-installation configuration, possibly such as
introducing cron jobs (is it possible?) as part of the configuration
package.
2022-09-08 06:51:16 -04:00
2023-12-24 14:41:52 -05:00
## Project hierarchy
2023-12-24 14:41:52 -05:00
It is not yet clear to me how I'll do this. I'm thinking perhaps
`config/$host/$package` with the exception of `config/generic/$package` for
host-generic packages such as `neovim` for `siga` and `tabi`.
2023-12-24 14:41:52 -05:00
### NOTES
2023-12-24 14:41:52 -05:00
```console
$ debuild
$ debuild -T clean
```