]> Skullheadx's Git Forge - nixos.git/commitdiff
block youtube based
authorSkullheadx <admonty1@protonmail.com>
Thu, 11 Jun 2026 21:44:50 +0000 (17:44 -0400)
committerSkullheadx <admonty1@protonmail.com>
Thu, 11 Jun 2026 21:44:50 +0000 (17:44 -0400)
hosts/nepsis/configuration.nix

index e82e7a36cd2c60cbe3a25ad3a5184948425c7496..2b12ef17fad003b3d7b2be302ed0a770ccf8c713 100644 (file)
   ];
 
   networking.hostName = "nepsis";
+  networking.extraHosts = ''
+    0.0.0.0 youtube.com
+    0.0.0.0 www.youtube.com
+    0.0.0.0 www.youtu.be
+  '';
+
   # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 
   programs.ssh = {