mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
feat(nix): Add DO_NOT_TRACK
This commit is contained in:
parent
73c6e134ad
commit
f818ffb1bc
4 changed files with 28 additions and 0 deletions
12
nixcfgs/modules/home/do-not-track.nix
Normal file
12
nixcfgs/modules/home/do-not-track.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
12
nixcfgs/modules/nixos/core/do-not-track.nix
Normal file
12
nixcfgs/modules/nixos/core/do-not-track.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
./core/configuration.nix
|
||||
./core/packages.nix
|
||||
./core/do-not-track.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue