This commit is contained in:
jeirmeister 2025-09-12 14:23:28 -07:00
parent 78378f57e5
commit 544c72b7b2

View file

@ -38,7 +38,6 @@
nix-bitcoin.generateSecrets = true;
disko.devices = {
# ───────── Root disk ─────────
disk.root = {
type = "disk";
device = "/dev/sda";
@ -67,7 +66,6 @@
};
};
# LVM volume group on the root partition
lvm_vg.root_vg = {
type = "lvm_vg";
lvs = {
@ -83,7 +81,6 @@
};
};
# ───────── Data disk for bitcoind ─────────
disk.data = {
type = "disk";
device = "/dev/sdb";
@ -93,7 +90,7 @@
partitions = {
data = {
size = "100%";
type = "8300"; # regular Linux FS
type = "8300";
content = {
type = "filesystem";
format = "xfs";
@ -105,6 +102,18 @@
};
};
};
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
enable = true;
device = "nodev"; # For UEFI; installs to ESP
efiSupport = true;
useOSProber = false; # Avoid scanning sdb
};
};
services.bitcoind = {
enable = true;