applies all recommended deadnix fixes, and adds it to checks

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-05-21 19:47:21 -04:00
committed by Richie Cahill
parent f3f6c463ca
commit 3522ebd8c5
19 changed files with 27 additions and 88 deletions

View File

@ -44,7 +44,7 @@
lsdir =
dir:
lib.optionals (builtins.pathExists dir) (
lib.attrNames (lib.filterAttrs (path: type: type == "directory") (builtins.readDir dir))
lib.attrNames (lib.filterAttrs (_: type: type == "directory") (builtins.readDir dir))
);
# return full paths of all files in a directory

View File

@ -69,8 +69,8 @@ rec {
user: src:
{
config,
lib,
pkgs,
lib,
...
}@args:
{
@ -153,7 +153,7 @@ rec {
users,
home ? true,
modules ? [ ],
server ? true,
# server ? true,
sops ? true,
system ? "x86_64-linux",
}@args: