about summary refs log tree commit diff
path: root/nixos/doc/config-examples/basic.nix
blob: da37cfb8c28601ade565db95ce363020cb9a4ed2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  boot = {
    loader.grub.device = "/dev/sda";
  };

  fileSystems = [
    { mountPoint = "/";
      device = "/dev/sda1";
    }
  ];

  swapDevices = [
    { device = "/dev/sdb1"; }
  ];

  services = {
    openssh = {
      enable = true;
    };
  };
}