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"; }