nixpkgs/doc/config-examples/basic.nix
Yury G. Kudryashov e3afda0a88 Don't use deprecated config options
svn path=/nixos/trunk/; revision=20979
2010-04-08 09:19:10 +00:00

22 lines
260 B
Nix

{
boot = {
loader.grub.device = "/dev/sda";
};
fileSystems = [
{ mountPoint = "/";
device = "/dev/sda1";
}
];
swapDevices = [
{ device = "/dev/sdb1"; }
];
services = {
openssh = {
enable = true;
};
};
}