Move Nix files back to the root of the project

This commit is contained in:
Oliver Davies 2025-03-29 23:19:06 +00:00
parent 52044d9995
commit 087153a16d
223 changed files with 12 additions and 12 deletions

View file

@ -0,0 +1,6 @@
{
imports = [
./node.nix
./ranger.nix
];
}

View file

@ -0,0 +1,17 @@
{ config, ... }:
let
inherit (config.xdg) configHome dataHome stateHome;
in
{
xdg.configFile."${config.home.sessionVariables.NPM_CONFIG_USERCONFIG}".text = ''
cache=${configHome}/npm
init-module=${configHome}/npm/config/npm-init.js
logs-dir=${stateHome}/npm/logs
prefix=${dataHome}/npm
'';
home.sessionVariables = {
NPM_CONFIG_USERCONFIG = "${configHome}/npm/npmrc";
};
}

View file

@ -0,0 +1,5 @@
{
programs.ranger = {
enable = true;
};
}