mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
feat: added fusama swipe touchpad gestures
This commit is contained in:
parent
6fa32e623e
commit
1e266371e8
5 changed files with 49 additions and 10 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
{
|
||||
|
||||
|
||||
boot.supportedFilesystems = [ "nfts" ];
|
||||
|
||||
boot.loader.systemd-boot.configurationLimit = 5;
|
||||
|
@ -19,7 +18,6 @@
|
|||
options = "--delete-generations 8d";
|
||||
};
|
||||
|
||||
programs.git.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
users.users.${user} = {
|
||||
isNormalUser = true;
|
||||
|
|
|
@ -28,12 +28,12 @@ in {
|
|||
users.${user} = {
|
||||
imports = [
|
||||
./home.nix
|
||||
../modules/git.nix
|
||||
../modules/emacs.nix
|
||||
../modules/wezterm.nix
|
||||
../modules/urxvt.nix
|
||||
../modules/xdg.nix
|
||||
../modules/git.nix
|
||||
../modules/fusuma.nix
|
||||
../modules/vim.nix
|
||||
../modules/wezterm.nix
|
||||
../modules/xdg.nix
|
||||
../modules/zsh.nix
|
||||
];
|
||||
};
|
||||
|
|
|
@ -39,15 +39,19 @@ in
|
|||
frei0r # kdenlive video plugins
|
||||
pandoc
|
||||
fontpreview
|
||||
|
||||
texlive.combined.scheme-medium
|
||||
|
||||
# commandline utils
|
||||
pfetch
|
||||
fortune
|
||||
rmtrash
|
||||
ripgrep
|
||||
fd
|
||||
neofetch
|
||||
ranger
|
||||
exa
|
||||
xdotool
|
||||
vhs
|
||||
|
||||
nodejs # required for coc-nvim
|
||||
|
|
|
@ -10,14 +10,18 @@ in
|
|||
enable = true;
|
||||
package = pkgs.emacs-gtk;
|
||||
};
|
||||
services.emacs.enable = true;
|
||||
home.activation.doom = lib.hm.dag.entryAfter["writeBoundary"] ''
|
||||
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.activation.doom = lib.hm.dag.entryAfter["writeBoundary"] ''
|
||||
if [ ! -d .emacs.d ]; then
|
||||
${git} clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
|
||||
fi
|
||||
mkdir -p .doom.d
|
||||
${git} clone ${configRepoUrl} .doom.d
|
||||
'';
|
||||
# mkdir -p .doom.d
|
||||
# ${git} clone ${configRepoUrl} .doom.d
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Doom Emacs fonts, manually installed with
|
||||
|
|
33
modules/fusuma.nix
Normal file
33
modules/fusuma.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.fusuma = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = with pkgs; [ coreutils xdotool ];
|
||||
|
||||
settings = {
|
||||
swipe = {
|
||||
"4" = {
|
||||
left = {
|
||||
command = "xdotool set_desktop --relative -- 1";
|
||||
};
|
||||
};
|
||||
right = {
|
||||
command = "xdotool set_desktop --relative -- -1";
|
||||
};
|
||||
};
|
||||
};
|
||||
plugin = {
|
||||
inputs = {
|
||||
libinput_command_input = {
|
||||
# options for lib/plugin/inputs/libinput_command_input
|
||||
enable-tap = true; # click to tap
|
||||
enable-dwt = true; # disable tap while typing
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue