add FDE for quadphone and quadtop

This commit is contained in:
Henry Hiles 2026-11-18 22:10:24 -05:00
commit 4c451ce3df
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 50 additions and 12 deletions

36
clients/quadtop/disko.nix Normal file
View file

@ -0,0 +1,36 @@
{ inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices.disk.main = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "cryptroot";
settings.allowDiscards = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}

View file

@ -14,17 +14,5 @@
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/15598217-e3e1-4922-b336-8e9f62fad939";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/C6EC-B430";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
hardware.cpu.intel.updateMicrocode = true;
}