go back to zsh and enable mullvad

This commit is contained in:
atagen 2023-06-01 12:20:24 +10:00
parent cb51f8e6d6
commit adfdea496b
2 changed files with 17 additions and 17 deletions

View file

@ -105,7 +105,7 @@ in {
programs.starship = {
enable = true;
settings = {
format = "$directory$os$all";
# format = "$directory$os$all";
directory = {
truncate_to_repo = false;
};

View file

@ -125,7 +125,7 @@
'']
(builtins.readFile ../home/dots/xonshrc);
};
users.defaultUserShell = pkgs.xonsh;
users.defaultUserShell = pkgs.zsh;
services.tailscale.enable = true;
@ -156,21 +156,21 @@
# services.mullvad-vpn.enable = true;
# networking.wg-quick.interfaces = {
# mullvad = {
# address = ["10.67.227.64/32"];
# dns = ["10.64.0.1"];
# privateKey = "OOPAlePjy7x2DVpg6d7BoBqpST3lDJSYght185tSUl8=";
# peers = [
# {
# publicKey = "LXuRwa9JRTt2/UtldklKGlj/IVLORITqgET4II4DRkU=";
# allowedIPs = ["0.0.0.0/0"];
# endpoint = "146.70.200.194:51820";
# persistentKeepalive = 25;
# }
# ];
# };
# };
networking.wg-quick.interfaces = {
mullvad = {
address = ["10.67.227.64/32"];
dns = ["10.64.0.1"];
privateKey = "OOPAlePjy7x2DVpg6d7BoBqpST3lDJSYght185tSUl8=";
peers = [
{
publicKey = "LXuRwa9JRTt2/UtldklKGlj/IVLORITqgET4II4DRkU=";
allowedIPs = ["0.0.0.0/0"];
endpoint = "146.70.200.194:51820";
persistentKeepalive = 25;
}
];
};
};
networking.firewall.enable = true;
networking.firewall = {