fix: EDITOR, replace neofetch with fastfetch

This commit is contained in:
Ryan Yin
2024-11-26 09:27:58 +08:00
parent 1955875498
commit 366aef4d2c
5 changed files with 10 additions and 14 deletions

View File

@@ -19,7 +19,16 @@
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L284
nix.package = pkgs.nixVersions.latest;
# for security reasons, do not load neovim's user config
# since EDITOR may be used to edit some critical files
environment.variables.EDITOR = "nvim --clean";
environment.systemPackages = with pkgs; [
# core tools
fastfetch
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
just # justfile
nushell # nushell
git # used by nix flakes
git-lfs # used by huggingface models