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 1cc0ef82f6
commit 66ecfc7644
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
35 changed files with 26 additions and 41 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"