default.nix 742 Bytes
Newer Older
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
1 2 3 4 5 6 7
{ config, pkgs, ... }:

{
  # Default state, plus hardware configurations.
  imports = [
    ./hardware-configuration.nix
    ../../hardware/asus/tp300la.nix
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
8
    ../../profiles/desktop.nix
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
9 10 11

    ../../modules/development.nix
    ../../modules/gobohide.nix
12
    ../../modules/munin.nix
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
13 14 15 16 17 18 19 20 21 22 23
    ../../modules/osk.nix
    ../../modules/steam.nix
    ../../modules/virtualbox.nix
  ];

  # Name of this machine.
  networking.hostName = "ralphwiggum";

  # The NixOS release to be compatible with for stateful data such as databases.
  system.stateVersion = "17.03";

Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
24
  boot.kernelPackages = pkgs.linuxPackages_4_19;
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
25 26 27 28

  networking.nat = {
    externalInterface = "enp0s20u1";
  };
29

30 31 32

  # This is for vagrant + NFS.
  services.nfs.server.enable = true;
Samuel Dionne-Riel's avatar
Samuel Dionne-Riel committed
33
}