diff --git a/README.md b/README.md index 8869600..dd682e0 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,13 @@ My personal dotfiles as a flake. Structure: -``` +```text ├── hosts # host configurations ├── lib # library functions -├── modules +├── modules │   ├── darwin # reusable modules for macOS +│   ├── nixos # reusable modules for nixOS +│   ├── system # reusable modules for unix-like systems (nixOS, darwin, etc.) │   └── home # reusable modules for home manager ├── users # user configurations (can be shared across hosts) └── vendor # vendored flake dependencies in git submodules diff --git a/devenv.nix b/devenv.nix index f1046b4..df79ebc 100644 --- a/devenv.nix +++ b/devenv.nix @@ -1,4 +1,11 @@ { ... }: { languages.nix.enable = true; - pre-commit.hooks.nixfmt-classic.enable = true; + pre-commit.hooks = { + nixfmt-classic.enable = true; + markdownlint = { + enable = true; + settings.configuration = { MD013.line_length = 120; }; + }; + shellcheck.enable = true; + }; } diff --git a/modules/home/default/gh.zsh b/modules/home/default/gh.zsh index 43a3bd3..91fdb88 100644 --- a/modules/home/default/gh.zsh +++ b/modules/home/default/gh.zsh @@ -1,3 +1,5 @@ +# shellcheck disable=all + ghcs() { FUNCNAME="$funcstack[1]" TARGET="shell"