trator terranix config functional; move disko configs to individual outputs; touching up trantor

This commit is contained in:
William 2025-11-02 22:01:43 -03:00
parent 5899e42fa4
commit 716ed5cc53
19 changed files with 298 additions and 193 deletions

View file

@ -1,4 +1,4 @@
{ inputs, ... }:
{ config, inputs, ... }:
{
imports = [
@ -8,7 +8,11 @@
ephemeral = {
enable = true;
rootDevice = "/dev/mapper/cryptroot";
rootDevice =
if config.networking.hostName == "trantor" then
"/dev/disk/by-id/scsi-36067d367fe184830a89bbe708c7b1066"
else
"/dev/mapper/cryptroot";
rootSubvolume = "@root";
};