update: set default editor
This commit is contained in:
parent
a6c321bb05
commit
e71dce74ff
1 changed files with 2 additions and 7 deletions
|
|
@ -1,13 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
VISUAL = "hx";
|
||||
};
|
||||
shellAliases = {
|
||||
x = "hx";
|
||||
};
|
||||
shellAliases.x = "hx";
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs) nil; # Nix language server
|
||||
# inherit desktopItem;
|
||||
|
|
@ -15,6 +9,7 @@
|
|||
};
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue