system/machines/asus-gl553vd/default.nix

47 lines
919 B
Nix

{ config, pkgs, lib, ... }:
let
secrets = import ../../secrets.nix;
in
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../common.nix
];
# Use latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Use the systemd-boot EFI boot loader.
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "laptop"; # Define your hostname.
inherit (secrets.networking) extraHosts;
interfaces = {
enp3s0.useDHCP = true;
wlp2s0.useDHCP = true;
};
};
# enable bluetooth
hardware.bluetooth.enable = true;
services.blueman.enable = true;
# configure mouse and touchpad
services.xserver.libinput = {
enable = true;
mouse = {
accelSpeed = "1.0";
};
touchpad = {
accelSpeed = "0.5";
disableWhileTyping = true;
};
};
}