summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/Makefile2
l---------nixos/garage-cluster.nix1
-rw-r--r--nixos/kusanagi.nix1
-rw-r--r--nixos/lindy.nix2
-rw-r--r--nixos/route48.nix13
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;
- }];
- };
-}