From 809a68fa275eee1b6f939092f3cee6974e107d15 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 19 Dec 2023 21:02:53 +0800 Subject: [PATCH] feat: add github workflow - flake_check --- flake.nix | 4 +++- home/base/server/core.nix | 9 +-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index dbf0aee7..1c297434 100644 --- a/flake.nix +++ b/flake.nix @@ -281,7 +281,7 @@ src = ./.; hooks = { alejandra.enable = true; # formatter - deadnix.enable = true; # detect unused variable bindings in `*.nix` + # deadnix.enable = true; # detect unused variable bindings in `*.nix` statix.enable = true; # lints and suggestions for Nix code(auto suggestions) }; }; @@ -446,6 +446,8 @@ }; # the nixConfig here only affects the flake itself, not the system configuration! + # for more information, see: + # https://nixos-and-flakes.thiscute.world/nixos-with-flakes/add-custom-cache-servers nixConfig = { # substituers will be appended to the default substituters when fetching packages extra-substituters = [ diff --git a/home/base/server/core.nix b/home/base/server/core.nix index ba506fb4..4552d5ca 100644 --- a/home/base/server/core.nix +++ b/home/base/server/core.nix @@ -57,18 +57,11 @@ ]; programs = { - # modern vim - neovim = { - enable = true; - defaultEditor = true; - vimAlias = true; - }; - # A modern replacement for ‘ls’ # useful in bash/zsh prompt, not in nushell. eza = { enable = true; - enableAliases = true; + enableAliases = false; # do not enable aliases in nushell! git = true; icons = true; };