fix(mugetsu): partial netboot install

This commit is contained in:
arcnmx 2024-11-21 16:25:20 -08:00
parent a4157c1eb3
commit f0adb4dccc
5 changed files with 152 additions and 20 deletions

View file

@ -1,30 +1,19 @@
{
meta,
config,
pkgs,
...
}: {
environment.systemPackages = [
pkgs.ipmitool
imports = let
inherit (meta) nixos;
in [
nixos.hw.c4130
];
boot = {
initrd = {
availableKernelModules = ["ahci" "xhci_pci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" "sr_mod"];
kernelModules = [];
};
kernelModules = [];
extraModulePackages = [];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
fileSystems = {
"/" = {
# TODO
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "xfs";
"/boot" = {
device = "/dev/disk/by-label/EFI";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
};

View file

@ -8,6 +8,7 @@
./hardware-configuration.nix
#nixos.sops
nixos.base
nixos.netboot.kyuuto
];
system.stateVersion = "24.11";