3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/configuration/examples/basic.nix
Eelco Dolstra 24e34612e3 * Allow swap devices to be specified by label.
svn path=/nixos/trunk/; revision=7609
2007-01-10 13:07:57 +00:00

22 lines
249 B
Nix

{
boot = {
grubDevice = "/dev/sda";
};
fileSystems = [
{ mountPoint = "/";
device = "/dev/sda1";
}
];
swapDevices = [
{ device = "/dev/sdb1"; }
];
services = {
sshd = {
enable = true;
};
};
}