2023-01-15 18:56:16 +01:00
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
2023-06-09 18:26:35 +02:00
|
|
|
# and in the NixOS manual (accessible by running `nixos-help`).
|
2023-01-15 18:56:16 +01:00
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
# Shared config of all machines
|
2023-06-09 18:26:35 +02:00
|
|
|
/data/nixos/common.nix
|
2023-01-15 18:56:16 +01:00
|
|
|
];
|
|
|
|
|
2023-06-09 18:26:35 +02:00
|
|
|
# host name
|
2023-01-15 18:56:16 +01:00
|
|
|
networking.hostName = "neko";
|
2023-06-10 17:42:28 +02:00
|
|
|
|
|
|
|
# main network interface
|
|
|
|
systemd.network.networks."10-wan".matchConfig.Name = "enp9s0";
|
2023-06-10 19:09:58 +02:00
|
|
|
|
|
|
|
# intel graphics
|
2023-06-10 19:19:56 +02:00
|
|
|
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
|
2023-06-10 19:09:58 +02:00
|
|
|
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver ];
|
2023-01-15 18:56:16 +01:00
|
|
|
}
|