nixpkgs/configuration/examples/basic.nix

22 lines
249 B
Nix
Raw Normal View History

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