54 lines
926 B
Nix
54 lines
926 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
i18n.inputMethod = {
|
|
enable = true;
|
|
enableGtk3 = true;
|
|
enableGtk2 = true;
|
|
type = "fcitx5";
|
|
fcitx5 = {
|
|
addons = with pkgs; [
|
|
fcitx5-skk
|
|
];
|
|
};
|
|
};
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
xkb = {
|
|
layout = "us";
|
|
};
|
|
resolutions = [
|
|
{ x = 1920; y = 1080; }
|
|
{ x = 2560; y = 1600; }
|
|
];
|
|
dpi = 96;
|
|
displayManager.lightdm = {
|
|
enable = true;
|
|
greeters.gtk = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
services.libinput = lib.mkDefault {
|
|
enable = true;
|
|
touchpad = {
|
|
tapping = true;
|
|
scrollMethod = "twofinger";
|
|
disableWhileTyping = true;
|
|
accelProfile = "flat";
|
|
accelSpeed = "0.5";
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
alacritty
|
|
xfe
|
|
feh
|
|
keepassxc
|
|
kdePackages.spectacle
|
|
kdePackages.gwenview
|
|
kdePackages.okular
|
|
];
|
|
}
|