2024-07-04 13:01:45 +02:00
|
|
|
# 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
|
2024-07-04 13:03:44 +02:00
|
|
|
networking.hostName = "beta";
|
|
|
|
networking.hostId = "3f20def9";
|
2024-07-04 13:01:45 +02:00
|
|
|
|
|
|
|
# classic dhcpcd
|
|
|
|
networking.networkmanager.enable = false;
|
2024-07-04 17:11:41 +02:00
|
|
|
|
|
|
|
# german laptop keyboard
|
|
|
|
services.xserver.xkb.layout = "de";
|
2024-07-04 13:01:45 +02:00
|
|
|
}
|