diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2024-07-27 03:27:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-27 03:27:48 +0000 |
| commit | 05803aa679156ce52c8f5ab6fe58f3ca05a6eb7b (patch) | |
| tree | 14055e72ef7bd8b20ee2382baeb4f757ef931124 | |
| parent | b5fd9f8c76dcc30c4c8e1633989aa922ca11552f (diff) | |
update dpi touchpad resolution
| -rw-r--r-- | .xinitrc | 3 | ||||
| -rw-r--r-- | .xprofile | 2 | ||||
| -rw-r--r-- | configuration.nix | 13 |
3 files changed, 17 insertions, 1 deletions
@@ -1,4 +1,5 @@ slstatus & -xwallpaper --zoom /usr/share/wallpapers/wallpaper.png +xwallpaper --zoom /usr/share/wallpapers/wallpaper.png & +[ -f ~/.xprofile ] && . ~/.xprofile & exec dwm diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..ee2bd72 --- /dev/null +++ b/.xprofile @@ -0,0 +1,2 @@ +xrandr --dpi 116 & +xrandr -s 1920x1200 & 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; |
