diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-18 13:26:52 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-18 13:27:03 +0200 |
commit | 24346cccad290ddc014d2fed09ed5cfde6275adb (patch) | |
tree | 25a401a9226e4b9b883773043fa48a12ff3228bc /nixos | |
parent | 7183e0e9c06835b3b1591ce138eb11f29e98d0a1 (diff) | |
download | user-config-24346cccad290ddc014d2fed09ed5cfde6275adb.tar.gz user-config-24346cccad290ddc014d2fed09ed5cfde6275adb.zip |
cleanup and add garage cluster container module
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/Makefile | 2 | ||||
l--------- | nixos/garage-cluster.nix | 1 | ||||
-rw-r--r-- | nixos/kusanagi.nix | 1 | ||||
-rw-r--r-- | nixos/lindy.nix | 2 | ||||
-rw-r--r-- | nixos/route48.nix | 13 |
5 files changed, 3 insertions, 16 deletions
diff --git a/nixos/Makefile b/nixos/Makefile index 4c86e58..a0f2628 100644 --- a/nixos/Makefile +++ b/nixos/Makefile @@ -5,7 +5,7 @@ boot: sudo nixos-rebuild boot -I nixos-config=`hostname`.nix test: - nixos-rebuild build -I nixos-config=`hostname`.nix + nixos-rebuild build -I nixpkgs=${HOME}/dev/nixpkgs -I nixos-config=`hostname`.nix up: sudo nixos-rebuild boot --upgrade -I nixos-config=`hostname`.nix diff --git a/nixos/garage-cluster.nix b/nixos/garage-cluster.nix new file mode 120000 index 0000000..9dd5932 --- /dev/null +++ b/nixos/garage-cluster.nix @@ -0,0 +1 @@ +/home/lx/Deuxfleurs/garage/script/jepsen.garage/garage-cluster.nix
\ No newline at end of file diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index 750c6a7..84a501d 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -9,7 +9,6 @@ ./common.nix ./kde.nix #./gnome.nix - #./route48.nix ]; networking.hostName = "kusanagi"; diff --git a/nixos/lindy.nix b/nixos/lindy.nix index 5c1f5ab..0705501 100644 --- a/nixos/lindy.nix +++ b/nixos/lindy.nix @@ -10,7 +10,7 @@ ./kde.nix #./gnome.nix #./fdn-vpn.nix - #./route48.nix + ./garage-cluster.nix ]; networking.hostName = "lindy"; diff --git a/nixos/route48.nix b/nixos/route48.nix deleted file mode 100644 index 3dbdb44..0000000 --- a/nixos/route48.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, pkgs, ... }: -{ - networking.wg-quick.interfaces.route48 = { - privateKeyFile = "/root/route48private"; - address = [ "2a06:a004:3089::2/48" ]; - peers = [{ - publicKey = "W0pI832mL5u7JzJjiE68dyS95mIGBDqGgSxSZromEGY="; - allowedIPs = ["::/1" "8000::/1"]; - endpoint = "par-fr.node.route48.org:51890"; - persistentKeepalive = 60; - }]; - }; -} |