From 10d7de15b8376ec726a7a28e9e97ee1f76f4a9f2 Mon Sep 17 00:00:00 2001 From: Alexandre LUCAZEAU Date: Sat, 15 Jul 2023 21:11:10 +0200 Subject: [PATCH] FIX fish config --- hosts/d2nix/nixos/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/d2nix/nixos/configuration.nix b/hosts/d2nix/nixos/configuration.nix index a4cbb9d..3aece12 100644 --- a/hosts/d2nix/nixos/configuration.nix +++ b/hosts/d2nix/nixos/configuration.nix @@ -76,6 +76,9 @@ programs = { fish.enable = true; + fish.interactiveShellInit = '' + set -gx EDITOR nvim + ''; ssh = { setXAuthLocation = true; forwardX11 = true; @@ -99,9 +102,9 @@ environment.systemPackages = with pkgs; [ google-fonts - xorg.xbacklight ]; + environment.variables.EDITOR = "nvim"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; }