rigel machine (Zima board) is running NixOS

This commit is contained in:
2025-07-25 11:18:52 +07:00
parent f72bb82382
commit 99c3ee6ffe
16 changed files with 3731 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{
system.stateVersion = "25.11";
}

50
machines/rigel/disko.nix Normal file
View File

@@ -0,0 +1,50 @@
# ---
# schema = "single-disk"
# [placeholders]
# mainDisk = "/dev/disk/by-id/mmc-C9A551_0x157f3bd0"
# ---
# This file was automatically generated!
# CHANGING this configuration requires wiping and reinstalling the machine
{
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiInstallAsRemovable = true;
boot.loader.grub.enable = true;
disko.devices = {
disk = {
main = {
name = "main-598d9832330c4a02b021deca9caa267b";
device = "/dev/disk/by-id/mmc-C9A551_0x157f3bd0";
type = "disk";
content = {
type = "gpt";
partitions = {
"boot" = {
size = "1M";
type = "EF02"; # for grub MBR
priority = 1;
};
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}

3593
machines/rigel/facter.json Normal file

File diff suppressed because it is too large Load Diff