blob: 1655556a5fa0eef4f566c47da5dbb354160be4c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{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";
};
}
|