best practices: get rid of with pkgs;
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
{
|
||||
options.my.dev.nix.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.dev.nix.enable {
|
||||
users.users.jawz.packages = with pkgs; [
|
||||
nixfmt-rfc-style # formating
|
||||
cachix # why spend time compiling?
|
||||
nixd # language server
|
||||
statix # linter
|
||||
];
|
||||
users.users.jawz.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
nixfmt-rfc-style # formating
|
||||
cachix # why spend time compiling?
|
||||
nixd # language server
|
||||
statix # linter
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user