From 9d0d3bbd116126607bbea3921be7d53e8ac47728 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Mon, 12 Feb 2024 22:47:04 +0100 Subject: [PATCH 1/2] feat(home): Move zsh config to shell module --- home/alex/cli.nix | 11 +---------- home/alex/programs/shell/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 home/alex/programs/shell/default.nix diff --git a/home/alex/cli.nix b/home/alex/cli.nix index 2efaddb..17fd2d8 100644 --- a/home/alex/cli.nix +++ b/home/alex/cli.nix @@ -17,6 +17,7 @@ in { ./programs/jq ./programs/fzf ./programs/git + ./programs/shell ]; programs.home-manager.enable = true; @@ -119,16 +120,6 @@ in { # htop replacement with a nice UI btop.enable = true; - zsh = { - enable = true; - enableAutosuggestions = true; - oh-my-zsh = { - enable = true; - plugins = [ "git" "fzf" "fd" "z" ]; - theme = "simple"; - }; - }; - # better ls with icons and stuff, maybe also try lsd ${myEza} = { enable = true; diff --git a/home/alex/programs/shell/default.nix b/home/alex/programs/shell/default.nix new file mode 100644 index 0000000..b614b70 --- /dev/null +++ b/home/alex/programs/shell/default.nix @@ -0,0 +1,15 @@ +{ config, lib, pkgs, ... }: + +{ + home.shellAliases = { suspend = "systemctl hibernate"; }; + + programs.zsh = { + enable = true; + enableAutosuggestions = true; + oh-my-zsh = { + enable = true; + plugins = [ "git" "fzf" "fd" "z" ]; + theme = "simple"; + }; + }; +} From d3592260b18f61c702c5ae5b09bdfc6d8bc629f3 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Tue, 13 Feb 2024 23:00:04 +0100 Subject: [PATCH 2/2] dregil: Disable touchpad tapping --- modules/wm/x.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wm/x.nix b/modules/wm/x.nix index 58e31d9..ea3c0b4 100644 --- a/modules/wm/x.nix +++ b/modules/wm/x.nix @@ -28,6 +28,7 @@ libinput = { enable = true; touchpad.disableWhileTyping = true; + touchpae.tapping = false; mouse.naturalScrolling = config.services.xserver.libinput.touchpad.naturalScrolling; };