flake: refactor for input bump
This commit is contained in:
parent
13f95c89aa
commit
f5ac12063b
3 changed files with 7 additions and 9 deletions
|
@ -2,14 +2,14 @@
|
|||
with lib;
|
||||
{
|
||||
nix = {
|
||||
package = pkgs.nixVersions.unstable;
|
||||
package = pkgs.nixVersions.latest;
|
||||
|
||||
settings = {
|
||||
allowed-users = [ "*" ];
|
||||
trusted-users = [ "root" "@wheel" "remotebuild" ];
|
||||
|
||||
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;
|
||||
fallback = true;
|
||||
|
|
|
@ -32,7 +32,7 @@ in
|
|||
};
|
||||
|
||||
services = {
|
||||
xserver.libinput.touchpad = {
|
||||
libinput.touchpad = {
|
||||
clickMethod = "clickfinger";
|
||||
naturalScrolling = true;
|
||||
};
|
||||
|
|
|
@ -19,13 +19,11 @@ in
|
|||
|
||||
config = {
|
||||
console.keyMap = mkDefault cfg.keymap;
|
||||
services.xserver = {
|
||||
xkb = {
|
||||
services.xserver.xkb = {
|
||||
layout = mkDefault cfg.keymap;
|
||||
options = "compose:ralt";
|
||||
};
|
||||
libinput.enable = true;
|
||||
};
|
||||
services.libinput.enable = true;
|
||||
|
||||
i18n.defaultLocale = cfg.locale;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue