summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2024-07-27 03:27:48 +0000
committerGitHub <noreply@github.com>2024-07-27 03:27:48 +0000
commit05803aa679156ce52c8f5ab6fe58f3ca05a6eb7b (patch)
tree14055e72ef7bd8b20ee2382baeb4f757ef931124 /configuration.nix
parentb5fd9f8c76dcc30c4c8e1633989aa922ca11552f (diff)
update dpi touchpad resolution
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index f74e919..4ab749b 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -22,6 +22,12 @@
networking.hostName = "nixos"; # Define your hostname.
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
+ # touchpad
+ services.libinput.enable = true;
+ services.libinput.touchpad.naturalScrolling = false;
+ services.libinput.touchpad.middleEmulation = true;
+ services.libinput.touchpad.tapping = true;
+
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
@@ -66,6 +72,11 @@
# compostior
services.picom.enable = true;
+ # login
+ services.logind.extraConfig = ''
+ HandlePowerKey=ignore
+ '';
+
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.ozpv = {
isNormalUser = true;
@@ -90,6 +101,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
+ libinput-gestures
brightnessctl
vim
(st.overrideAttrs {
@@ -154,6 +166,7 @@
# audio
hardware.pulseaudio.enable = true;
+ hardware.pulseaudio.package = pkgs.pulseaudioFull;
# shell
programs.zsh.enable = true;