mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 22:38:44 +01:00
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
networking = {
|
|
networkmanager.wifi.backend = "wpa_supplicant";
|
|
extraHosts = ''
|
|
127.0.0.1 www.youtube.com
|
|
127.0.0.1 www.reddit.com
|
|
127.0.0.1 www.tiktok.com
|
|
127.0.0.1 www.twitter.com
|
|
127.0.0.1 www.instagram.com
|
|
127.0.0.1 www.facebook.com
|
|
127.0.0.1 www.snapchat.com
|
|
|
|
127.0.0.1 youtube.com
|
|
127.0.0.1 reddit.com
|
|
127.0.0.1 tiktok.com
|
|
127.0.0.1 twitter.com
|
|
127.0.0.1 instagram.com
|
|
127.0.0.1 facebook.com
|
|
127.0.0.1 snapchat.com
|
|
|
|
127.0.0.1 google-analytics.com
|
|
127.0.0.1 stats.g.doubleclick.net
|
|
127.0.0.1 googleadservices.com
|
|
127.0.0.1 googletagmanager.com
|
|
127.0.0.1 googletagservices.com
|
|
127.0.0.1 googlesyndication.com
|
|
'';
|
|
};
|
|
systemd.services."NetworkManager-wait-online".enable = false;
|
|
services.mullvad-vpn.enable = true;
|
|
home-manager.users.jade = { pkgs, ... }: {
|
|
home.packages = with pkgs; [
|
|
networkmanagerapplet
|
|
mullvad-vpn
|
|
speedtest-cli
|
|
];
|
|
};
|
|
};
|
|
}
|