summaryrefslogtreecommitdiffstats
path: root/1systems/x/x13/default.nix
blob: f5dee33829a2b050b9492a00046892e44852ca20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ pkgs, lib, nixos-hardware, self, ... }:
# new zfs deployment
{
  imports = [
    ./input.nix
    
    ((import  ../../../2configs/fs/disko/single-disk-encrypted-zfs.nix ) { disks ="/dev/nvme0n1"; hostId = "f8b8e0a3"; })
    ./battery.nix
    ./amdgpu.nix
    ../../../2configs/hw/bluetooth.nix
    ../../../2configs/hw/tpm.nix
    ../../../2configs/hw/ssd.nix
    # ../../../2configs/hw/xmm7360.nix
    nixos-hardware.nixosModules.lenovo-thinkpad-l14-amd
  ];

  boot.kernelPackages = lib.mkForce pkgs.linuxPackages;

  services.fwupd.enable = true;
  programs.light.enable = true;

  boot.extraModprobeConfig = ''
    options thinkpad_acpi fan_control=1
  '';
}