From 159d2947bf673ee16e5d765b61cebf12e6b67691 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 4 Jul 2024 13:01:45 +0200 Subject: start with beta as mini copy --- beta/configuration.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 beta/configuration.nix (limited to 'beta/configuration.nix') diff --git a/beta/configuration.nix b/beta/configuration.nix new file mode 100644 index 0000000..2f139e9 --- /dev/null +++ b/beta/configuration.nix @@ -0,0 +1,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 = "mini"; + networking.hostId = "e925ccfb"; + + # classic dhcpcd + networking.networkmanager.enable = false; +} -- cgit v1.2.3