From ff99371792189e918b2ef7df5f0c8218354e1b7a Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 26 Mar 2025 20:45:52 +0100 Subject: [PATCH] sisko/firefox: add tridactyl support --- home/neovim.nix | 2 +- hosts/sisko/configuration.nix | 25 ++++++++++++++++--------- hosts/sisko/home.nix | 1 - 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index a5405fe..66c8655 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -100,7 +100,7 @@ in { " Close vim is Nerdtree is the only buffer left autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif - if empty($AERC_ACCOUNT) + if empty($AERC_ACCOUNT) && empty($MOZ_APP_LAUNCHER) autocmd VimEnter * NERDTree " Autostart nerdtree on vim startup autocmd VimEnter * wincmd p " Unselect nerdtree window endif diff --git a/hosts/sisko/configuration.nix b/hosts/sisko/configuration.nix index 9dda58f..cb8b604 100644 --- a/hosts/sisko/configuration.nix +++ b/hosts/sisko/configuration.nix @@ -29,16 +29,23 @@ users.users.felixalb.extraGroups = [ "dialout" ]; - programs.gamemode.enable = true; - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - }; + programs = { + gamemode.enable = true; + steam = { + enable = true; + remotePlay.openFirewall = true; + }; - programs.alvr = { - enable = true; - package = pkgs.unstable.alvr; - openFirewall = true; + alvr = { + enable = true; + package = pkgs.unstable.alvr; + openFirewall = true; + }; + + firefox = { + enable = true; + nativeMessagingHosts.tridactyl = true; + }; }; nixpkgs.config = { diff --git a/hosts/sisko/home.nix b/hosts/sisko/home.nix index 4930b5c..d472d35 100644 --- a/hosts/sisko/home.nix +++ b/hosts/sisko/home.nix @@ -75,7 +75,6 @@ enable = true; settings.window.opacity = 0.92; }; - firefox.enable = true; ncmpcpp.enable = true; neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ]; rbw = {