use helix flake

This commit is contained in:
atagen 2023-04-21 01:50:05 +10:00
parent f6baa7f1b1
commit ba1684c8d4
3 changed files with 40 additions and 33 deletions

View file

@ -22,9 +22,8 @@
};
# imports = [
# # (import (builtins.fetchTarball "https://github.com/jonascarpay/declarative-cachix/archive/master.tar.gz"))
# inputs.declarative-cachix
# inputs.helix
# ];
# cachix = [
@ -37,7 +36,7 @@
'';
systemd.services.NetworkManager-wait-online.enable = false;
systemd.services.NetworkManager-wait-online.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
@ -113,6 +112,7 @@
services.tailscale.enable = true;
environment.systemPackages = with pkgs; [
rnix-lsp
@ -122,7 +122,7 @@
home-manager
cachix
helix
# helix
ark
curl
@ -135,18 +135,23 @@
comma
cachix
alejandra
];
# services.mullvad-vpn.enable = true;
networking.wg-quick.interfaces = {
mullvad = {
address = [ "10.66.224.186/32" ];
address = [ "10.67.227.64/32" ];
dns = [ "10.64.0.1" ];
privateKey = "WD0CNYazB8D19SJvwz/TdPqoWgWCGfTwA7mim16q7UM=";
privateKey = "OOPAlePjy7x2DVpg6d7BoBqpST3lDJSYght185tSUl8=";
peers = [
{
publicKey = "pu22RCPeJCeiDIE7a1XtWvmv3BdgPp8ugF6AyntW8xU=";
publicKey = "LXuRwa9JRTt2/UtldklKGlj/IVLORITqgET4II4DRkU=";
allowedIPs = [ "0.0.0.0/0" ];
endpoint = "89.44.10.114:51820";
endpoint = "146.70.200.194:51820";
persistentKeepalive = 25;
}
];
@ -161,7 +166,7 @@
systemd.services.fixNetworkingForTailscale = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "wg-quick-mullvad.service" ];
after = [ "network.target" "mullvad-daemon.service" ];
description = "fix the damn routing table";
serviceConfig = {
Type = "oneshot";