diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 35c733d..f1cb554 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -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; diff --git a/hosts/default.nix b/hosts/default.nix index 6369bd3..6e6c8ba 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -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 ]; }; diff --git a/hosts/home.nix b/hosts/home.nix index 632304a..07e214c 100644 --- a/hosts/home.nix +++ b/hosts/home.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 diff --git a/modules/emacs.nix b/modules/emacs.nix index 7e2033d..7baedf1 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -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 diff --git a/modules/fusuma.nix b/modules/fusuma.nix new file mode 100644 index 0000000..7da2fd4 --- /dev/null +++ b/modules/fusuma.nix @@ -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 + }; + }; + }; + + }; + }; +}