hosts: move xserver to services/
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -3,19 +3,19 @@ let
|
|||||||
inherit (inputs) nixpkgs;
|
inherit (inputs) nixpkgs;
|
||||||
|
|
||||||
commonModules = [
|
commonModules = [
|
||||||
|
{
|
||||||
|
_module.args = globalArgs;
|
||||||
|
}
|
||||||
./programs/neovim
|
./programs/neovim
|
||||||
./programs/nix
|
./programs/nix
|
||||||
./programs/zsh
|
./programs/zsh
|
||||||
./programs/gnupg
|
./programs/gnupg
|
||||||
./programs/git
|
./programs/git
|
||||||
./programs/doas
|
./programs/doas
|
||||||
{
|
|
||||||
_module.args = globalArgs;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
desktopModules = [
|
desktopModules = [
|
||||||
./programs/adb
|
./programs/adb
|
||||||
./xorg.nix
|
./services/xserver
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
];
|
];
|
||||||
|
@@ -1,17 +1,11 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
#let
|
|
||||||
# compiledLayout = pkgs.runCommand "keyboard-layout" {} ''
|
|
||||||
# ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${./colemak-dh.xkb} $out
|
|
||||||
# '';
|
|
||||||
#in
|
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
libinput = {
|
libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mouse = {
|
mouse = {
|
||||||
accelSpeed = "0";
|
accelSpeed = "0";
|
||||||
# accelProfile = "flat";
|
|
||||||
};
|
};
|
||||||
touchpad = {
|
touchpad = {
|
||||||
middleEmulation = false;
|
middleEmulation = false;
|
||||||
@@ -22,13 +16,9 @@
|
|||||||
};
|
};
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager = {
|
displayManager.startx.enable = true;
|
||||||
startx = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
xkb.layout = "us";
|
xkb.layout = "us";
|
||||||
xkb.variant = "colemak_dh"; # trying to ditch DHz now
|
xkb.variant = "colemak_dh";
|
||||||
autoRepeatDelay = 320;
|
autoRepeatDelay = 320;
|
||||||
autoRepeatInterval = 30;
|
autoRepeatInterval = 30;
|
||||||
};
|
};
|
Reference in New Issue
Block a user