base: make vim default editor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
{ config, pkgs, inputs, lib, ... }:
|
||||
{
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
@@ -21,9 +21,15 @@
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ vim ripgrep xdg-utils webcord ];
|
||||
systemPackages = with pkgs; [
|
||||
vim
|
||||
ripgrep
|
||||
xdg-utils
|
||||
webcord
|
||||
element-desktop
|
||||
];
|
||||
shells = with pkgs; [ bash ];
|
||||
sessionVariables.EDITOR = lib.mkDefault "vim";
|
||||
};
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user