about summary refs log tree commit diff
path: root/machines/hp-compaq/configuration.nix
blob: 958088c9977db820807cbf6b6f0f6a37f0bdd24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  boot.loader.grub.enable = true;
  boot.loader.grub.version = 2;
  boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only

  networking.hostName = "hp-compaq";

  networking.useDHCP = false;
  networking.interfaces.enp2s0.useDHCP = true;

  environment.systemPackages = with pkgs; [
  ];

}