2023-09-15 00:21:07 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-09-13 23:40:50 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../../base.nix
|
|
|
|
../../common/metrics-exporters.nix
|
|
|
|
./hardware-configuration.nix
|
2023-09-15 00:21:07 +02:00
|
|
|
./desktop.nix
|
2023-09-13 23:40:50 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "edison";
|
|
|
|
defaultGateway = "192.168.10.1";
|
2023-09-15 00:21:07 +02:00
|
|
|
|
|
|
|
# Networking / Wi-Fi is configured with NM for now. TODO
|
|
|
|
networkmanager.enable = true;
|
2023-09-13 23:40:50 +02:00
|
|
|
};
|
|
|
|
|
2023-09-15 00:21:07 +02:00
|
|
|
console.keyMap = "us";
|
|
|
|
|
2023-09-13 23:40:50 +02:00
|
|
|
# sops.defaultSopsFile = ../../secrets/edison/edison.yaml;
|
|
|
|
|
|
|
|
environment.variables = { EDITOR = "vim"; };
|
2023-09-15 17:12:47 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
pavucontrol
|
|
|
|
];
|
2023-09-13 23:40:50 +02:00
|
|
|
|
2023-09-15 00:21:07 +02:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"nvidia-x11"
|
|
|
|
"nvidia-settings"
|
2023-09-13 23:40:50 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|
|
|
|
|