diff options
author | tv <tv@krebsco.de> | 2023-09-11 14:55:04 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-09-11 14:55:04 +0200 |
commit | 8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (patch) | |
tree | aa37724dd0452860d4b9b033332587c8832629e3 /lass/2configs/hw/x220.nix | |
parent | 90b1515dcd5b67a85cd92901fb211764b1fa5f83 (diff) | |
parent | 083229d0211096daec08673f743ccc45b1d8a0ac (diff) |
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'lass/2configs/hw/x220.nix')
-rw-r--r-- | lass/2configs/hw/x220.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/lass/2configs/hw/x220.nix b/lass/2configs/hw/x220.nix deleted file mode 100644 index cbb5b168d..000000000 --- a/lass/2configs/hw/x220.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ config, pkgs, ... }: -{ - imports = [ - <stockholm/krebs/2configs/hw/x220.nix> - ]; - - 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; -} |