forked from aylac.top/nixcfg
this repo has no description

i can't actually do much but this is ever so slighly more organised

Changed files
+28 -1
homes
modules
home
profiles
betterLocations
+1
homes/ayla/default.nix
···
};
profiles = {
+
betterLocations.enable = true;
shell.enable = true;
defaultApps = {
enable = true;
+25
modules/home/profiles/betterLocations/default.nix
···
+
{
+
config,
+
lib,
+
...
+
}: {
+
options.myHome.profiles.betterLocations.enable = lib.mkEnableOption "for a slightly less cluttered home folder";
+
+
config = lib.mkIf config.myHome.profiles.betterLocations.enable {
+
home.sessionVariables = {
+
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
+
NPM_CONFIG_CACHE = "${config.xdg.cacheHome}/npm";
+
};
+
+
programs = {
+
bash = {
+
enable = true;
+
historyFile = "${config.xdg.dataHome}/bash_history";
+
};
+
gpg = {
+
enable = true;
+
homedir = "${config.xdg.dataHome}/gnupg";
+
};
+
};
+
};
+
}
+2 -1
modules/home/profiles/default.nix
···
{...}: {
imports = [
+
./betterLocations
+
./defaultApps
./shell
-
./defaultApps
];
}