Add a Lenovo T495s reference client + an in-place-upgrade disko layout #10
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Discussion
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Help Wanted
Status
Need More Info
Prio - Hoog
Prio - Laag
Prio - Middel
styling
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MinBZK/DAWO-NixOS#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's missing
There's one reference client today (
dawo-hp-eb-850g7) and one disko layout(
single-nvme-luks, a fresh-install full-wipe). Two things I'd like to add:hardware-module pattern is exercised on more than one machine.
nvme-luks-ext4) that matches a machine's existingstorage and boot, so a host already running NixOS can switch to this config
without a wipe, same ext4 cryptroot, same lanzaboote
/var/lib/sbctlkeys (so the signed chain and TPM2 unlock keep working). The full-wipe path
stays
single-nvme-luks.Plus rollout/update docs: provisioning with nixos-anywhere (using the existing
disko layout, optional
nixos-facterhardware generation) and updates over thealready-wired deploy-rs nodes.
Files
modules/hardware/lenovo-t495s.nix,modules/hosts/profiles/disko/nvme-luks-ext4.nix,modules/hosts/clients/dawo-t495s.nix,docs/deploy.md.The host imports
profiles-dawo-genericand carries a commented opt-in blockfor the hardening modules (nothing auto-on), consistent with the opt-in posture.
Question
Are a second hardware reference and the in-place-upgrade disko variant welcome
upstream, or would you rather keep only the full-wipe path in the generic repo?
(The Forgejo CI workflow from my branch is mirror-specific and will be left out
of the PR.)
@bram.buijs wrote in #10 (comment):
I'd say specific hardware should not be part of the reference. The ideal location for hardware definitions should be nixos-hardware upstream. And any specific hardware profiles should be part of a organizational DAWO repo.