diff options
author | lassulus <git@lassul.us> | 2023-09-03 11:23:46 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-03 11:23:46 +0200 |
commit | 521dd6afa5518f19a1ba7772a036363d5604441b (patch) | |
tree | 8a90f59aba5b5797f7be8492970a64855fdb26cf /lass/1systems | |
parent | 3bb70cd5c28ebcf8ddee9ef7ad05cc86a2c841af (diff) |
l aergia.r: more hardware settings
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/aergia/physical.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lass/1systems/aergia/physical.nix b/lass/1systems/aergia/physical.nix index 9f06dccdc..e76460d20 100644 --- a/lass/1systems/aergia/physical.nix +++ b/lass/1systems/aergia/physical.nix @@ -16,7 +16,7 @@ efiInstallAsRemovable = true; }; - boot.kernelPackages = pkgs.linuxPackages_latest; + # boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelParams = [ # use less power with pstate @@ -70,8 +70,6 @@ }; users.users.mainUser.extraGroups = [ "corectrl" ]; - # use newer ryzenadj - # keyboard quirks services.xserver.displayManager.sessionCommands = '' ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert @@ -102,9 +100,16 @@ services.logind.extraConfig = '' HandlePowerKey=hibernate ''; + # systemd.sleep.extraConfig = '' + # HibernateDelaySec=1800 + # ''; # firefox touchscreen support environment.sessionVariables.MOZ_USE_XINPUT2 = "1"; + + # enable thunderbolt + services.hardware.bolt.enable = true; + # reinit usb after docking station connect services.udev.extraRules = '' SUBSYSTEM=="drm", ACTION=="change", RUN+="${pkgs.dash}/bin/dash -c 'echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized'" |