dotfiles/nixos/machines/smithers/x11.nix

29 lines
818 B
Nix
Raw Normal View History

2022-05-15 14:35:03 +02:00
{ config, pkgs, lib, inputs, ... }:
{
2022-04-11 13:26:26 +02:00
imports = [
2022-05-15 14:35:03 +02:00
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1
2022-04-11 13:26:26 +02:00
./x11-hardware-config.nix
];
2022-10-04 10:39:49 +02:00
hardware.enableRedistributableFirmware = true;
2022-04-11 13:26:26 +02:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.zfs.requestEncryptionCredentials = true;
boot.supportedFilesystems = [ "zfs" ];
2022-10-04 10:15:29 +02:00
boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
2022-04-11 13:26:26 +02:00
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;
}