mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 12:09:19 +00:00
Enable statix's empty_pattern rule and apply its auto-fixes across the affected modules and tests.
16 lines
332 B
Nix
16 lines
332 B
Nix
{
|
|
programs.npm = {
|
|
enable = true;
|
|
settings = { };
|
|
};
|
|
|
|
test.stubs.nodejs = { };
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.npmrc
|
|
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
|
|
assertFileNotRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
"export NPM_CONFIG_USERCONFIG="
|
|
'';
|
|
}
|