Fix logitech mouse button ordering
This commit is contained in:
parent
ef9d501d9b
commit
2bb7554a89
|
@ -9,6 +9,11 @@
|
||||||
|
|
||||||
networking.hostName = "Vanguard"; # Define your hostname.
|
networking.hostName = "Vanguard"; # Define your hostname.
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
clinfo
|
||||||
|
glxinfo
|
||||||
|
];
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.xenia = {
|
users.users.xenia = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -17,13 +22,23 @@
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable automatic login for the user.
|
services.xserver.displayManager = {
|
||||||
services.xserver.displayManager.autoLogin.enable = true;
|
# Enable automatic login for the user.
|
||||||
services.xserver.displayManager.autoLogin.user = "xenia";
|
autoLogin = {
|
||||||
|
enable = true;
|
||||||
|
user = "xenia";
|
||||||
|
};
|
||||||
|
# Fix Logitech MX Master buttons being inverted
|
||||||
|
sessionCommands = ''
|
||||||
|
${pkgs.xorg.xinput}/bin/xinput set-button-map "Logitech USB Receiver Mouse" 3 2 1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# Set up home manager for user
|
# Set up home manager for user
|
||||||
home-manager.users.xenia = import ./home-manager/vanguard-xenia.nix;
|
home-manager.users.xenia = import ./home-manager/vanguard-xenia.nix;
|
||||||
|
|
||||||
# For Steam support
|
# For Steam support
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue