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;
|
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;
|
||||||
|
|
|
@ -32,7 +32,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
xserver.libinput.touchpad = {
|
libinput.touchpad = {
|
||||||
clickMethod = "clickfinger";
|
clickMethod = "clickfinger";
|
||||||
naturalScrolling = true;
|
naturalScrolling = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue