blob: 3c5ab6db96f2215d9a17a0bbca7c429316184682 (
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
];
# host name
networking.hostName = "neko";
# main network interface
systemd.network.networks."10-wan".matchConfig.Name = "enp9s0";
# intel graphics
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver ];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver ];
}
|