nix: move all nixos configuration to nixosModules

export them
This commit is contained in:
Primrose 2024-10-30 19:27:45 +01:00
parent ce26e04e9c
commit 30bbb00f6b
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
17 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,49 @@
{ pkgs, ... }:
{
services.xserver = {
enable = true;
autoRepeatDelay = 300;
autoRepeatInterval = 40;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
};
displayManager.lightdm = {
enable = true;
background = "#000000";
greeters.gtk.cursorTheme = {
name = "volantes_cursors";
package = pkgs.volantes-cursors;
size = 64;
};
};
};
services.xscreensaver.enable = true;
services.picom = {
enable = true;
vSync = true;
fade = true;
fadeDelta = 3;
settings.fade-exclude = [
"name = 'Fcitx5 Input Window'"
"class_g = 'fcitx'"
"class_i = 'fcitx'"
];
};
services.libinput = {
mouse = {
naturalScrolling = true;
accelSpeed = "-0.5";
};
touchpad = {
naturalScrolling = true;
tapping = false;
};
};
}