Merge branch 'main' of https://git.thomasfmly.org/michael/nix-dots
This commit is contained in:
commit
392e4ed24d
@ -15,7 +15,27 @@
|
|||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ wireguard-tools ];
|
||||||
|
|
||||||
|
# Wireguard tunnel
|
||||||
|
age.secrets.wireguardOracle.file = "../../secrets/wireguard-oracle.age";
|
||||||
|
networking.wg-quick.interfaces = {
|
||||||
|
wg0 = {
|
||||||
|
address = [ "10.0.10.1/24" ];
|
||||||
|
listenPort = 51820;
|
||||||
|
privateKeyFile = config.age.secrets.wireguardOracle.path;
|
||||||
|
|
||||||
|
peers = [
|
||||||
|
{
|
||||||
|
publicKey = "iKJO9Q8LsdCdApapTX9CJmrtAKn1TYhg4YUiBUBPzmo=";
|
||||||
|
allowedIPs = "10.0.10.2/32";
|
||||||
|
};
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
environment.variables.EDITOR = "nvim";
|
||||||
|
|
||||||
users.users.michael = {
|
users.users.michael = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -11,6 +11,24 @@
|
|||||||
networking.hostName = "venus"; # Define your hostname.
|
networking.hostName = "venus"; # Define your hostname.
|
||||||
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
|
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
|
||||||
|
|
||||||
|
# Wireguard tunnel to oracle
|
||||||
|
age.secrets.wireguardThinkcentre.file = "../../secrets/wireguard-thinkcentre.age";
|
||||||
|
networking.wg-quick.interfaces = {
|
||||||
|
wg0 = {
|
||||||
|
address = [ "10.0.10.2/32" ];
|
||||||
|
listenPort = 51820;
|
||||||
|
privateKeyFile = config.age.secrets.wireguardThinkcentre.path;
|
||||||
|
|
||||||
|
peers = [
|
||||||
|
{
|
||||||
|
publicKey = "sdqT2l1HRe9rDYejJ+luQK8zdC+/KqDuQ1rpvZq/KlQ=";
|
||||||
|
endpoint = "150.136.162.107:51820";
|
||||||
|
allowedIPs = "10.0.10.1/24";
|
||||||
|
};
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 XlaGxQ 64T+sKc6cuLGJpF2mjdRoLupmh4r4xDJYWnz2XtW5yw
|
||||||
|
Fn2imf2lLbjRLQOG7FP844OfmLm2uX3zz+mEy4k4PbM
|
||||||
|
--- hVrfmKh1csvwWIvzvdcOiJVM9+KzG1xLr5eYj9qZ3oE
|
||||||
|
*°˜Þý³nñ¤ý»zkXI `{#.=×,ÀÃî`W<>ghÇüc.”Õ[´w³JÔÐdÑØV,ëß–&iz¯¥˜ÎLÚ9Bì"u}ºÍŸ
|
@ -5,9 +5,12 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neovim
|
|
||||||
lazygit
|
lazygit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
home.stateVersion = "21.05";
|
home.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user