fix: no touchpad
This commit is contained in:
parent
7e144b675f
commit
80924b0c91
2 changed files with 6 additions and 16 deletions
|
@ -13,22 +13,12 @@
|
|||
autoLogin.user = "truxnell"; # TODO move to config overlay
|
||||
};
|
||||
layout = "us"; # `localctl` will give you
|
||||
|
||||
|
||||
# Touchpad
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad = {
|
||||
naturalScrolling = true;
|
||||
middleEmulation = false;
|
||||
tapping = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# And dconf
|
||||
programs.dconf.enable = true;
|
||||
# dconf write /org/gnome/mutter/experimental-features "['scale-monitor-framebuffer']"
|
||||
|
||||
# Exclude default GNOME packages that dont interest me.
|
||||
environment.gnome.excludePackages = (with pkgs; [
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
{
|
||||
imports = [ ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "mptspi" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
|
@ -20,7 +20,7 @@
|
|||
{ device = "/dev/disk/by-label/boot";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/b"; }
|
||||
];
|
||||
|
@ -30,8 +30,8 @@
|
|||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens33.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
virtualisation.virtualbox.guest.enable = true;
|
||||
virtualisation.vmware.guest.enable = true;
|
||||
}
|
||||
|
|
Reference in a new issue