summary refs log tree commit diff
path: root/nixos/doc/config-examples/closed-install-configuration.nix
blob: 0cebacdb0ccdcff6be5fb3e046b36563bd77fba1 (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 = {
    loader.grub.device = "/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;
  };

}