stockholm/makefu/2configs/fs/single-partition-ext4.nix

13 lines
272 B
Nix
Raw Normal View History

{config, ...}:
{
# fdisk /dev/sda
# mkfs.ext4 -L nixos /dev/sda1
boot.loader.grub.enable = assert config.boot.loader.grub.device != ""; true;
boot.loader.grub.version = 2;
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
}