33 lines
588 B
Nix
33 lines
588 B
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
fileSystems."/" =
|
|
{ device = "system/local/root";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/nix" =
|
|
{ device = "system/local/nix";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/var" =
|
|
{ device = "system/local/var";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/home" =
|
|
{ device = "system/home";
|
|
fsType = "zfs";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/gpt/ESP";
|
|
fsType = "msdos";
|
|
};
|
|
|
|
swapDevices = [ { device = "/dev/gpt/swap"; } ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-freebsd";
|
|
}
|