dotfiles/nixos/physical/x11.nix

28 lines
776 B
Nix

{ config, pkgs, lib, inputs, ... }:
{
imports = [
./.
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1
./x11-hardware-config.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.zfs.requestEncryptionCredentials = true;
boot.supportedFilesystems = [ "zfs" ];
boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
networking.wireless.iwd.enable = true;
networking.hostId = "54a8968e";
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
hardware.bluetooth.enable = true;
services.fprintd.enable = true;
boot.initrd.availableKernelModules = [ "i915" ];
boot.loader.timeout = 1;
boot.kernelParams = [ "i915.fastboot=1" ];
#boot.plymouth.enable = true;
}