summary refs log tree commit diff
path: root/doc/config-examples/closed-install-configuration.nix
blob: fed557ddd0d1461b728aaa4f670def9e91d3387a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  boot = {
    grubDevice = "/dev/sda";
    copyKernels = true;
    bootMount = "(hd0,0)";
  };

  fileSystems = [
    { mountPoint = "/";
      device = "/dev/sda3";
    }
    { mountPoint = "/boot";
      device = "/dev/sda1";
      neededForBoot = true;
    }
  ];

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

  services = {
    sshd = {
      enable = true;
    };
  };

  fonts = {
    enableFontConfig = false;
  };

}