nixos/neko/configuration.nix

30 lines
747 B
Nix
Raw Normal View History

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-10 19:09:58 +02:00
# intel graphics
2024-06-21 23:46:35 +02:00
hardware.graphics.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
2023-10-24 21:47:13 +02:00
2024-05-29 21:07:09 +02:00
# our hostname and an ID for ZFS
2023-10-24 21:47:13 +02:00
networking.hostName = "neko";
2024-05-29 21:07:09 +02:00
networking.hostId = "cf5a5ee6";
2024-04-29 18:24:44 +02:00
2024-05-29 21:07:09 +02:00
# classic dhcpcd
networking.networkmanager.enable = false;
# EurKey layout
services.xserver.xkb.layout = "eu";
2023-01-15 18:56:16 +01:00
}