Commit Graph

5 Commits

Author SHA1 Message Date
a91a9fe110
config: improve home-manager user creation
Now with configurable home-manager channel! Also, I've improved some
usage of the metadata to be used from `users.toml`.
2023-06-29 13:50:26 +08:00
03ca6722e9
chore: reformat codebase 2023-06-22 11:12:43 +08:00
9ef86934ea
lib/images: make system attribute as a requirement 2023-06-22 11:11:14 +08:00
241e2080f2
config: make configurable nixpkgs channel for images
Now we can finally easily declare the nixpkgs channel for individual
images. This is nice once I've expanded the images for other purposes
such as physical hosts (for homelabbing).

Unfortunately, this is where I realized that stable channels are not
exactly "Debian-stable" and the best way to handle security is to have
an update cadence that is relatively quick.
2023-06-22 11:01:41 +08:00
f033756d6f
config: modularize image creation functions
Additionally, I have also made a declarative version of the project
cluster with a neat little file at `images.toml`. This is way better for
individually referring to hosts from the host directory compared to the
old way.
2023-06-20 19:57:00 +08:00