2023-01-08 12:39:21 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
|
|
|
|
console.keyMap = "pl2";
|
|
|
|
imports = [ ./tailscale ];
|
2019-07-21 16:47:36 +01:00
|
|
|
services = {
|
2023-01-08 12:39:21 +00:00
|
|
|
udev.packages = [ pkgs.android-udev-rules ];
|
2020-05-09 16:26:35 +01:00
|
|
|
ratbagd.enable = true;
|
2020-03-20 13:09:39 +00:00
|
|
|
|
2019-11-12 21:30:45 +00:00
|
|
|
fwupd = {
|
|
|
|
enable = true;
|
2019-12-10 18:16:45 +00:00
|
|
|
package = pkgs.fwupd;
|
2019-11-12 21:30:45 +00:00
|
|
|
};
|
2019-10-12 19:38:33 +01:00
|
|
|
|
2023-01-08 12:39:21 +00:00
|
|
|
power-profiles-daemon.enable = true;
|
2019-12-25 13:29:01 +00:00
|
|
|
upower.enable = true;
|
2019-07-21 16:47:36 +01:00
|
|
|
fstrim.enable = true;
|
|
|
|
|
|
|
|
avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
|
|
|
};
|
|
|
|
|
2020-04-18 11:59:42 +01:00
|
|
|
geoclue2.enable = true;
|
2019-07-21 16:47:36 +01:00
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
layout = "pl";
|
2020-08-16 12:52:27 +01:00
|
|
|
xkbOptions = "caps:ctrl_modifier";
|
2023-01-08 12:39:21 +00:00
|
|
|
xkbVariant = "";
|
2019-07-21 16:47:36 +01:00
|
|
|
libinput = {
|
|
|
|
enable = true;
|
2021-05-30 20:41:33 +01:00
|
|
|
touchpad = {
|
|
|
|
naturalScrolling = false;
|
|
|
|
disableWhileTyping = true;
|
|
|
|
};
|
2019-07-21 16:47:36 +01:00
|
|
|
};
|
|
|
|
|
2019-08-04 20:13:54 +01:00
|
|
|
deviceSection = ''
|
2021-11-22 19:32:26 +00:00
|
|
|
Option "TearFree" "true"
|
|
|
|
Option "AccelMethod" "sna"
|
2019-08-04 20:13:54 +01:00
|
|
|
'';
|
2019-07-21 16:47:36 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|