2023-06-13 00:30:12 +02:00
|
|
|
{ pkgs, lib, nixos-hardware, self, ... }:
|
2021-01-27 22:59:21 +01:00
|
|
|
# new zfs deployment
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./input.nix
|
2023-06-21 22:45:58 +02:00
|
|
|
|
2023-06-23 22:58:27 +02:00
|
|
|
((import ../../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disks ="/dev/nvme0n1"; hostId = "f8b8e0a3"; })
|
2023-06-03 15:27:17 +02:00
|
|
|
./battery.nix
|
2023-06-21 22:45:58 +02:00
|
|
|
./amdgpu.nix
|
|
|
|
../../../2configs/hw/bluetooth.nix
|
|
|
|
../../../2configs/hw/tpm.nix
|
|
|
|
../../../2configs/hw/ssd.nix
|
|
|
|
# ../../../2configs/hw/xmm7360.nix
|
2023-06-13 00:30:12 +02:00
|
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-l14-amd
|
2021-01-27 22:59:21 +01:00
|
|
|
];
|
|
|
|
|
2021-10-01 21:12:03 +02:00
|
|
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
|
2021-03-12 20:12:56 +01:00
|
|
|
|
2022-05-30 12:57:52 +02:00
|
|
|
services.fwupd.enable = true;
|
2021-01-27 22:59:21 +01:00
|
|
|
programs.light.enable = true;
|
|
|
|
|
2021-05-25 09:51:36 +02:00
|
|
|
boot.extraModprobeConfig = ''
|
|
|
|
options thinkpad_acpi fan_control=1
|
|
|
|
'';
|
2021-01-27 22:59:21 +01:00
|
|
|
}
|
|
|
|
|