feat(nix): Add DO_NOT_TRACK

This commit is contained in:
js0ny 2025-11-11 05:05:11 +00:00
parent 73c6e134ad
commit f818ffb1bc
4 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{...}: {
# See: https://consoledonottrack.com/
home.sessionVariables = {
DO_NOT_TRACK = "1";
GATSBY_TELEMETRY_DISABLED = "1";
HOMEBREW_NO_ANALYTICS = "1";
STNOUPGRADE = "1";
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
SAM_CLI_TELEMETRY = "0";
AZURE_CORE_COLLECT_TELEMETRY = "0";
};
}

View file

@ -0,0 +1,12 @@
{...}: {
# See: https://consoledonottrack.com/
environment.variables = {
DO_NOT_TRACK = "1";
GATSBY_TELEMETRY_DISABLED = "1";
HOMEBREW_NO_ANALYTICS = "1";
STNOUPGRADE = "1";
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
SAM_CLI_TELEMETRY = "0";
AZURE_CORE_COLLECT_TELEMETRY = "0";
};
}

View file

@ -2,5 +2,6 @@
imports = [
./core/configuration.nix
./core/packages.nix
./core/do-not-track.nix
];
}

View file

@ -8,6 +8,7 @@
in {
imports = [
../../modules/home/options.nix
../../modules/home/do-not-track.nix
./config.nix
];
home.username = username;
@ -20,5 +21,7 @@ in {
home-manager
];
programs.home-manager.enable = true;
home.sessionVariables.TERMINAL = config.currentUser.defaultTerminal;
}