mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
hosts/electra: place boot on a subvolume to avoid wiping grub
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{ hostname, ... }:
|
||||
{
|
||||
imports = [
|
||||
../common/optional/btrfs-optin-persistence.nix
|
||||
@@ -17,6 +18,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-label/${hostname}";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=boot" ];
|
||||
};
|
||||
};
|
||||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
virtualisation.hypervGuest.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user