fix(host/terebralia-sulcata): hardware config
This commit is contained in:
parent
b405742a6f
commit
bc8c927504
|
@ -7,44 +7,41 @@
|
||||||
boot.kernelModules = ["kvm-intel"];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
disko.devices = {
|
disko.devices.disk.main = {
|
||||||
disk = {
|
device = "/dev/disk/by-id/ata-SanDisk_SD6SF1M128G1022_142261400678";
|
||||||
main = {
|
|
||||||
device = "/dev/disk/by-id/ata-SanDisk_SD6SF1M128G1022_142661400678";
|
type = "disk";
|
||||||
type = "disk";
|
content = {
|
||||||
content = {
|
type = "gpt";
|
||||||
type = "gpt";
|
partitions = {
|
||||||
partitions = {
|
boot = {
|
||||||
boot = {
|
size = "1M";
|
||||||
size = "1M";
|
type = "EF02"; # for grub MBR
|
||||||
type = "EF02"; # for grub MBR
|
};
|
||||||
};
|
ESP = {
|
||||||
ESP = {
|
size = "1G";
|
||||||
size = "1G";
|
type = "EF00";
|
||||||
type = "EF00";
|
content = {
|
||||||
content = {
|
type = "filesystem";
|
||||||
type = "filesystem";
|
format = "vfat";
|
||||||
format = "vfat";
|
mountpoint = "/boot";
|
||||||
mountpoint = "/boot";
|
mountOptions = ["umask=0077"];
|
||||||
mountOptions = ["umask=0077"];
|
};
|
||||||
};
|
};
|
||||||
};
|
plainSwap = {
|
||||||
plainSwap = {
|
size = "8G";
|
||||||
size = "8G";
|
content = {
|
||||||
content = {
|
type = "swap";
|
||||||
type = "swap";
|
discardPolicy = "both";
|
||||||
discardPolicy = "both";
|
resumeDevice = true;
|
||||||
resumeDevice = true;
|
};
|
||||||
};
|
};
|
||||||
};
|
root = {
|
||||||
root = {
|
size = "100%";
|
||||||
size = "100%";
|
content = {
|
||||||
content = {
|
type = "filesystem";
|
||||||
type = "filesystem";
|
format = "ext4";
|
||||||
format = "ext4";
|
mountpoint = "/";
|
||||||
mountpoint = "/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../hardware/intel-nuc.nix
|
../../hardware/intel-nuc4.nix
|
||||||
../../modules/snapclient.nix
|
../../modules/snapclient.nix
|
||||||
./topology.nix
|
./topology.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue