module(just): Add dead-nix to check unused nix code

This commit is contained in:
ulic-youthlic 2025-06-24 21:42:12 +08:00
parent bd3dad4e22
commit cdcd180527
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
36 changed files with 30 additions and 47 deletions

View file

@ -10,9 +10,9 @@
(
(rootPath + "/home")
|> builtins.readDir
|> lib.filterAttrs (key: value: value == "directory")
|> lib.filterAttrs (_key: value: value == "directory")
|> lib.filterAttrs (
key: value:
key: _value:
!builtins.elem key [
"modules"
"extra"