mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02:00
feat: add github workflow - flake_check
This commit is contained in:
@@ -281,7 +281,7 @@
|
|||||||
src = ./.;
|
src = ./.;
|
||||||
hooks = {
|
hooks = {
|
||||||
alejandra.enable = true; # formatter
|
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)
|
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!
|
# 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 = {
|
nixConfig = {
|
||||||
# substituers will be appended to the default substituters when fetching packages
|
# substituers will be appended to the default substituters when fetching packages
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
|||||||
@@ -57,18 +57,11 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
# modern vim
|
|
||||||
neovim = {
|
|
||||||
enable = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
vimAlias = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# A modern replacement for ‘ls’
|
# A modern replacement for ‘ls’
|
||||||
# useful in bash/zsh prompt, not in nushell.
|
# useful in bash/zsh prompt, not in nushell.
|
||||||
eza = {
|
eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAliases = true;
|
enableAliases = false; # do not enable aliases in nushell!
|
||||||
git = true;
|
git = true;
|
||||||
icons = true;
|
icons = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user