forked from CCCHH/nix-infra
23 lines
571 B
Nix
23 lines
571 B
Nix
# A Proxmox VM storage configuration.
|
|
# Sources for this configuration:
|
|
# - a generated NixOS 23.05 configuration
|
|
# - https://github.com/NixOS/nixpkgs/blob/069de7d3deafab651fd627c8f6d7e4c7b33087a2/nixos/modules/virtualisation/proxmox-image.nix#L260
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-label/nixos";
|
|
autoResize = true;
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/ESP";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
# Not specified here:
|
|
# - swapDevices
|
|
# If needed, manually specify it elsewhere.
|
|
}
|