From 2e5167de1560ad0d7b8e294c72e1913f694160c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/2configs/hw/x220.nix | 50 ----------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 lass/2configs/hw/x220.nix (limited to 'lass/2configs/hw/x220.nix') diff --git a/lass/2configs/hw/x220.nix b/lass/2configs/hw/x220.nix deleted file mode 100644 index cbb5b168..00000000 --- a/lass/2configs/hw/x220.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ config, pkgs, ... }: -{ - imports = [ - - ]; - - boot = { - initrd.luks.devices.luksroot.device = "/dev/sda3"; - initrd.availableKernelModules = [ "xhci_hcd" "ehci_pci" "ahci" "usb_storage" ]; - extraModulePackages = [ - config.boot.kernelPackages.tp_smapi - config.boot.kernelPackages.acpi_call - ]; - kernelModules = [ - "acpi_call" - "tp_smapi" - ]; - }; - - environment.systemPackages = [ - pkgs.tpacpi-bat - ]; - - fileSystems = { - "/" = { - device = "/dev/mapper/pool-root"; - fsType = "btrfs"; - options = ["defaults" "noatime" "ssd" "compress=lzo"]; - }; - "/boot" = { - device = "/dev/sda2"; - }; - "/home" = { - device = "/dev/mapper/pool-home"; - fsType = "btrfs"; - options = ["defaults" "noatime" "ssd" "compress=lzo"]; - }; - }; - - services.logind.lidSwitch = "ignore"; - services.logind.lidSwitchDocked = "ignore"; - - services.tlp.enable = true; - #services.tlp.extraConfig = '' - # START_CHARGE_THRESH_BAT0=80 - # STOP_CHARGE_THRESH_BAT0=95 - #''; - - services.xserver.dpi = 80; -} -- cgit v1.2.3