split system/gui into system/input
This commit is contained in:
parent
c86be50084
commit
4e8e8f0fed
3 changed files with 20 additions and 13 deletions
|
|
@ -16,6 +16,7 @@
|
|||
audio
|
||||
gui
|
||||
hardware-configuration
|
||||
input
|
||||
kernel
|
||||
networking
|
||||
packages
|
||||
|
|
@ -43,6 +44,5 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
console.useXkbConfig = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,19 +28,7 @@
|
|||
displayManager = {
|
||||
lightdm.enable = lib.mkForce false;
|
||||
startx.enable = true;
|
||||
xserverArgs = [
|
||||
"-ardelay 250"
|
||||
"-arinterval 15"
|
||||
];
|
||||
};
|
||||
desktopManager.xterm.enable = false;
|
||||
libinput = {
|
||||
enable = true;
|
||||
mouse = {
|
||||
accelSpeed = "0";
|
||||
accelProfile = "flat";
|
||||
};
|
||||
};
|
||||
xkbOptions = "caps:escape";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
19
modules/system/input.nix
Normal file
19
modules/system/input.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
services.xserver = {
|
||||
displayManager = {
|
||||
xserverArgs = [
|
||||
"-ardelay 250"
|
||||
"-arinterval 15"
|
||||
];
|
||||
};
|
||||
libinput = {
|
||||
enable = true;
|
||||
mouse = {
|
||||
accelSpeed = "0";
|
||||
accelProfile = "flat";
|
||||
};
|
||||
};
|
||||
xkbOptions = "caps:escape";
|
||||
};
|
||||
console.useXkbConfig = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue