nix: nil && nixfmt

This commit is contained in:
Roman Godmaire 2024-04-13 10:45:45 -04:00
parent bdded85026
commit acd49eef51

View file

@ -13,6 +13,9 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [
nil
nixfmt
devenv devenv
direnv direnv
@ -82,9 +85,7 @@
set fish_greeting set fish_greeting
''; '';
functions = { functions = { update = "nix-channel --update && home-manager switch"; };
update = "nix-channel --update && home-manager switch";
};
}; };
programs.mise.enable = true; programs.mise.enable = true;
@ -99,26 +100,17 @@
delta = { delta = {
enable = true; enable = true;
options = { options = { side-by-side = true; };
side-by-side = true;
};
}; };
extraConfig = { extraConfig = { init = { defaultBranch = "main"; }; };
init = {
defaultBranch = "main";
};
};
}; };
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacs29-pgtk; package = pkgs.emacs29-pgtk;
extraPackages = epkgs: with epkgs; [ extraPackages = epkgs: with epkgs; [ pdf-tools vterm ];
pdf-tools
vterm
];
}; };
programs.neovim = { programs.neovim = {