mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: move all nixos configuration to nixosModules
export them
This commit is contained in:
parent
ce26e04e9c
commit
30bbb00f6b
17 changed files with 8 additions and 1 deletions
49
nix/nixosModules/named/carbon/gui.nix
Normal file
49
nix/nixosModules/named/carbon/gui.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue