diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-03-29 11:32:44 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-03-29 11:32:44 +0100 |
commit | 3f69286ef4b15161febb4a4bae085fb4c2c83bbf (patch) | |
tree | 10679f5b5e712242939a1eba233241fabfec1927 /Build custom modules as profiles to manage various NixOS hosts.md | |
parent | fe63b70cae6e68adea7b25ad2f04ffc834b4e75f (diff) |
vault backup: 2025-03-29 11:32:44
Diffstat (limited to 'Build custom modules as profiles to manage various NixOS hosts.md')
-rw-r--r-- | Build custom modules as profiles to manage various NixOS hosts.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Build custom modules as profiles to manage various NixOS hosts.md b/Build custom modules as profiles to manage various NixOS hosts.md new file mode 100644 index 0000000..c463638 --- /dev/null +++ b/Build custom modules as profiles to manage various NixOS hosts.md @@ -0,0 +1,12 @@ +--- +tags: + - nixos +--- +Instead of putting a bunch of related configuration in files and import them all over the place I should aim to create reusable modules instead with options and defaults. + +That way we can configure hosts not by importing and configuring a whole lot of stuff but by setting a few toggles and options on modules. For example a backup module that we can use for backup hosts on which we can just set some simple config options such as hostname. + +Inspired by: +https://discourse.nixos.org/t/how-to-best-consolidate-repeated-portions-of-nixos-configs/24627/4?u=jras + +[[NixOS]]
\ No newline at end of file |