nixpkgs/instances/examples/basic.nix
Eelco Dolstra e060b99c52 * Removed boot.rootDevice, instead obtain the root device from the
filesystems option (specifically the file system with mountPoint ==
  "/").

svn path=/nixos/trunk/; revision=7447
2006-12-21 00:16:20 +00:00

20 lines
255 B
Nix

{
boot = {
autoDetectRootDevice = false;
readOnlyRoot = false;
grubDevice = "/dev/hda";
};
filesystems = [
{ mountPoint = "/";
device = "/dev/hda1";
}
];
services = {
sshd = {
enable = true;
};
};
}