dotfiles/nixos/machines/smithers/x11.nix

40 lines
1 KiB
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;
2023-09-17 19:12:14 +02:00
networking.wireless = {
enable = false;
iwd.enable = true;
};
2022-04-11 13:26:26 +02:00
networking.hostId = "54a8968e";
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
hardware.bluetooth.enable = true;
services.fprintd.enable = true;
2023-09-30 19:57:01 +02:00
boot = {
initrd.availableKernelModules = [ "i915" ];
# flickerfree
initrd.systemd.enable = true;
initrd.verbose = false;
plymouth.enable = true;
consoleLogLevel = 0;
kernelParams = [ "quiet" "udev.log_level=3" "i915.fastboot=1" ];
};
boot.loader.timeout = 0;
networking.dhcpcd.extraConfig = "noarp";
2022-04-11 13:26:26 +02:00
}