Skip to content

Commit

Permalink
Add vim to sys package
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 15, 2024
1 parent e309d71 commit 39c3ac0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"yoruichi" = "mirza"; # Crappy AMD Mini PC
"shinji" = "mirza"; # M720q Mini PC
"kenpachi" = "mirza"; # S740 Mini PC
"narouter" = "mirza"; # Firewall
# "narouter" = "mirza"; # Firewall
"aizen" = "mirza";
# Work
"kyuubi" = "mar"; # Crappy Work PC
Expand Down
4 changes: 3 additions & 1 deletion modules/home-manager/environment.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
options.environment.enable = lib.mkEnableOption "Set env vars for user";

config = lib.mkIf config.environment.enable {
home.sessionVariables = {
home.sessionVariables = rec {
# EDITOR = "nvim";
EDITOR = "hx";
GET_EDITOR = EDITOR;
VISUAL = EDITOR;
BROWSER = "zen";
WINIT_UNIX_BACKEND = "x11";
FLAKE = "/home/${user}/.config/flake";
Expand Down
1 change: 1 addition & 0 deletions modules/home-manager/server/programs/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ in
};
extraConfig =
{
core.editor = "hx";
pull.rebase = true;
init.defaultBranch = "main";
credential = {
Expand Down
1 change: 1 addition & 0 deletions modules/nixos/environment/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
dust
riffdiff
# unstable.ventoy
vim
wget
];
}

0 comments on commit 39c3ac0

Please sign in to comment.