fix(host/terebralia-sulcata): hardware config

This commit is contained in:
Malte Tammena 2024-11-01 13:34:24 +01:00
parent b405742a6f
commit bc8c927504
2 changed files with 36 additions and 39 deletions

View file

@ -7,44 +7,41 @@
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
disko.devices = {
disk = {
main = {
device = "/dev/disk/by-id/ata-SanDisk_SD6SF1M128G1022_142661400678";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = ["umask=0077"];
};
};
plainSwap = {
size = "8G";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true;
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
disko.devices.disk.main = {
device = "/dev/disk/by-id/ata-SanDisk_SD6SF1M128G1022_142261400678";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = ["umask=0077"];
};
};
plainSwap = {
size = "8G";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true;
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};

View file

@ -1,6 +1,6 @@
{...}: {
imports = [
../../hardware/intel-nuc.nix
../../hardware/intel-nuc4.nix
../../modules/snapclient.nix
./topology.nix
];