diff options
author | sterni <sternenseemann@systemli.org> | 2023-11-25T19·04+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2023-11-25T22·55+0000 |
commit | 825b6ac65f69737bbcba99058433e0af3fcc33b7 (patch) | |
tree | 895adc431d2a410561cb10737bcaf71083867a95 /users/sterni/machines/ingeborg/default.nix | |
parent | b91f4e89ab7af350f775185d8c381d921b636d19 (diff) |
feat(sterni/machines/ingeborg): boot-strap r/7069
Network configuration and initrd setup is basically the same as with edwin, but we are using md for Software RAID this time as well as LVM over two partitions with LUKS: - sda2 <-- RAID1 --> sdb2 (boot-raid) └ boot partition, ext4 (encrypted-container-raid) - sda3 <-- RAID1 --> sdb3 └ LUKS container └ Volume Group vgmain ├ Logical Volume vgmain/swap │ └ swap └ Logical Volume vgmain/root └ btrfs So we no longer rely on btrfs raid1 due to question marks over its reliability (I personally did not have any problems though). This also means that we have less LUKS containers we need to unlock when booting (kind of neglible improvement). The biggest improvement is that we have redundancy for the swap, so a disk failure shouldn't cause memory corruption/loss. Change-Id: I14f065b659857415917d9a60a7ec019e687f8d1c Reviewed-on: https://cl.tvl.fyi/c/depot/+/10127 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/machines/ingeborg/default.nix')
-rw-r--r-- | users/sterni/machines/ingeborg/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/sterni/machines/ingeborg/default.nix b/users/sterni/machines/ingeborg/default.nix new file mode 100644 index 000000000000..3012e5f4af9e --- /dev/null +++ b/users/sterni/machines/ingeborg/default.nix @@ -0,0 +1,15 @@ +{ config, lib, pkgs, depot, ... }: + +{ + imports = [ + # Basic settings + ../../modules/common.nix + # These modules touch things related to booting (filesystems, initrd network…) + ./hardware.nix + ./network.nix + ]; + + config = { + system.stateVersion = "24.05"; + }; +} |