Add basic ADR doc setup and first LVM ADR #149

Closed
b12f wants to merge 1 commit from adr/01-lvm-on-luks into main
3 changed files with 43 additions and 0 deletions

13
doc/adr/01-lvm.md Normal file
View file

@ -0,0 +1,13 @@
# PubSolarOS ADR 01: LVM on luks as default for drive management
In the context of drive mounting and disk partitioning,
facing a fragmented ecosystem,
we decided for LVM on luks with encrypted swap as the assumed default installation type,
and neglected luks on LVM, unencrypted installs, or non-LVM install methods,
to achieve a streamlined and opiniated nix config, an increased flexibility in partitioning, and more secure defaults,.
accepting a more laborious setup.

3
doc/adr/README.md Normal file
View file

@ -0,0 +1,3 @@
# Architectural Decision Records
**For an explanation of ADR, see https://adr.github.io/**

27
doc/adr/TEMPLATE.md Normal file
View file

@ -0,0 +1,27 @@
# Long form
In the context of <use case/user story u>,
facing <concern c>
we decided for <option o>
and neglected <other options>,
to achieve <system qualities/desired consequences>,
accepting <downside d/undesired consequences>,
because <additional rationale>.
# Short form
In the context of <use case/user story u>,
facing <concern c>
we decided for <option o>
to achieve <quality q>,
accepting <downside d>.