blob: 6194a7112532ba9ec3252bd8d47c84adad9bd03f (
plain) (
tree)
|
|
{ config, pkgs, lib, secrets, hostname, inputs, user, ... }: {
imports = [
./hardware.nix
../../modules/bluetooth
];
services = {
# Configure keymap in X11
xserver.layout = "gb";
logind.extraConfig = ''
# don’t shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
};
# Pick only one of the below networking options.
networking = {
wireless = {
enable = true; # Enables wireless support via wpa_supplicant.
networks = secrets.portable_wifi;
};
# networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Configure network proxy if necessary
# proxy.default = "http://user:password@proxy:port/";
# proxy.noProxy = "127.0.0.1,localhost,internal.domain";
};
environment.systemPackages = with pkgs; [
dmidecode #needed for updating coreboot bios
xf86_input_cmt #chromebook touchpad drivers
];
environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.x86_64-linux.database;
}
|