summaryrefslogtreecommitdiff
path: root/beta/configuration.nix
blob: 047b551d1bd548f29e1a45db77e9edd89be142cf (plain)
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
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).

{ config, pkgs, ... }:

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

      # Shared config of all machines
      /data/nixos/common.nix
    ];

  # amd graphics
  hardware.graphics.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ];

  # our hostname and an ID for ZFS
  networking.hostName = "beta";
  networking.hostId = "3f20def9";

  # classic dhcpcd
  networking.networkmanager.enable = false;
}