fix: no touchpad

This commit is contained in:
truxnell 2024-03-16 22:12:03 +11:00
parent 7e144b675f
commit 80924b0c91
2 changed files with 6 additions and 16 deletions

View file

@ -13,22 +13,12 @@
autoLogin.user = "truxnell"; # TODO move to config overlay autoLogin.user = "truxnell"; # TODO move to config overlay
}; };
layout = "us"; # `localctl` will give you layout = "us"; # `localctl` will give you
# Touchpad
libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
middleEmulation = false;
tapping = true;
};
};
}; };
# And dconf # And dconf
programs.dconf.enable = true; programs.dconf.enable = true;
# dconf write /org/gnome/mutter/experimental-features "['scale-monitor-framebuffer']"
# Exclude default GNOME packages that dont interest me. # Exclude default GNOME packages that dont interest me.
environment.gnome.excludePackages = (with pkgs; [ environment.gnome.excludePackages = (with pkgs; [

View file

@ -6,9 +6,9 @@
{ {
imports = [ ]; 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.initrd.kernelModules = [ ];
boot.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
@ -20,7 +20,7 @@
{ device = "/dev/disk/by-label/boot"; { device = "/dev/disk/by-label/boot";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/b"; } [ { device = "/dev/disk/b"; }
]; ];
@ -30,8 +30,8 @@
# still possible to use this option, but it's recommended to use it in conjunction # 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`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; 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"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
virtualisation.virtualbox.guest.enable = true; virtualisation.vmware.guest.enable = true;
} }