base: make vim default editor

This commit is contained in:
2026-04-07 13:20:40 +02:00
parent 6841a01739
commit 0762150bca
2 changed files with 10 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
imports = [
./direnv.nix
@@ -34,7 +34,7 @@
monocraft
];
environment.sessionVariables.EDITOR = "hx";
environment.sessionVariables.EDITOR = lib.mkForce "hx";
environment.shells = with pkgs; [ nushell bash ];
users.users.fredrikr.shell = pkgs.nushell;