.
This commit is contained in:
parent
78378f57e5
commit
544c72b7b2
1 changed files with 13 additions and 4 deletions
17
flake.nix
17
flake.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue