mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
37 lines
678 B
Nix
37 lines
678 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
../shared.nix
|
|
];
|
|
|
|
networking.hostName = "laptop";
|
|
|
|
hardware = {
|
|
bluetooth.enable = true;
|
|
firmware = [ pkgs.broadcom-bt-firmware ];
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
libinput.enable = true;
|
|
videoDrivers = [ "modesetting" "nvidia" ];
|
|
};
|
|
};
|
|
|
|
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
|
|
|
|
home-manager.users.thiloho = { pkgs, ... }: {
|
|
programs.git = {
|
|
signing = {
|
|
key = "86C465C22C8A4D56";
|
|
};
|
|
};
|
|
home.packages = with pkgs; [
|
|
arduino
|
|
];
|
|
};
|
|
}
|