flake: refactor for input bump

This commit is contained in:
Infinidoge 2024-05-05 00:48:23 -04:00
parent 13f95c89aa
commit f5ac12063b
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 7 additions and 9 deletions

View file

@ -2,14 +2,14 @@
with lib; with lib;
{ {
nix = { nix = {
package = pkgs.nixVersions.unstable; package = pkgs.nixVersions.latest;
settings = { settings = {
allowed-users = [ "*" ]; allowed-users = [ "*" ];
trusted-users = [ "root" "@wheel" "remotebuild" ]; trusted-users = [ "root" "@wheel" "remotebuild" ];
system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
experimental-features = [ "flakes" "nix-command" "impure-derivations" "no-url-literals" "repl-flake" ]; experimental-features = [ "flakes" "nix-command" "impure-derivations" "no-url-literals" ];
auto-optimise-store = true; auto-optimise-store = true;
fallback = true; fallback = true;

View file

@ -32,7 +32,7 @@ in
}; };
services = { services = {
xserver.libinput.touchpad = { libinput.touchpad = {
clickMethod = "clickfinger"; clickMethod = "clickfinger";
naturalScrolling = true; naturalScrolling = true;
}; };

View file

@ -19,13 +19,11 @@ in
config = { config = {
console.keyMap = mkDefault cfg.keymap; console.keyMap = mkDefault cfg.keymap;
services.xserver = { services.xserver.xkb = {
xkb = { layout = mkDefault cfg.keymap;
layout = mkDefault cfg.keymap; options = "compose:ralt";
options = "compose:ralt";
};
libinput.enable = true;
}; };
services.libinput.enable = true;
i18n.defaultLocale = cfg.locale; i18n.defaultLocale = cfg.locale;