Compare commits
4 Commits
589fa7fcbe
...
086d9760bc
Author | SHA1 | Date |
---|---|---|
Alexandre LUCAZEAU | 086d9760bc | |
Alexandre LUCAZEAU | aca6464f5b | |
Alexandre LUCAZEAU | 26f42cb446 | |
Alexandre LUCAZEAU | 13987650a7 |
|
@ -1,18 +0,0 @@
|
||||||
client
|
|
||||||
remote '185.86.178.201' 1194 udp
|
|
||||||
pkcs12 '/home/alexandre/09_DRI/Serveur_VPN_pour_le_SI_DRI_alexandre/Serveur_VPN_pour_le_SI_DRI_alexandre.p12'
|
|
||||||
auth-user-pass
|
|
||||||
cipher AES-256-GCM
|
|
||||||
comp-lzo no
|
|
||||||
dev tun
|
|
||||||
proto udp
|
|
||||||
remote-cert-tls server
|
|
||||||
verify-x509-name 'C=FR, ST=Sarthe, L=Le Mans, O=DRI, emailAddress=support@dri.fr, CN=opn-vpn.si.dri.fr' subject
|
|
||||||
tls-auth '/home/alexandre/09_DRI/Serveur_VPN_pour_le_SI_DRI_alexandre/./Serveur_VPN_pour_le_SI_DRI_alexandre-tls.key' 1
|
|
||||||
nobind
|
|
||||||
auth-nocache
|
|
||||||
script-security 2
|
|
||||||
persist-key
|
|
||||||
persist-tun
|
|
||||||
user nm-openvpn
|
|
||||||
group nm-openvpn
|
|
|
@ -31,5 +31,8 @@
|
||||||
source = ./configs/zellij;
|
source = ./configs/zellij;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
home.sessionPath = [
|
||||||
|
"$HOME/.local/bin"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
graphviz
|
graphviz
|
||||||
evince
|
evince
|
||||||
kdeconnect
|
kdeconnect
|
||||||
|
neovim
|
||||||
];
|
];
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"ferdi-5.8.1"
|
"ferdi-5.8.1"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
# ./vpn.nix
|
# ./vpn.nix
|
||||||
# ./VPN.nix
|
# ./VPN.nix
|
||||||
../modules/prometheus-node.nix
|
../modules/prometheus-node.nix
|
||||||
|
../modules/syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -201,4 +202,5 @@ nix.settings.auto-optimise-store = true;
|
||||||
hashedPassword = "$6$7m77oPQxa$W9YnRLo1X2eqztBHwpoH8diHGkBno5O39AMyL9Qm8y8I6uW63H2Nwx4p239OG5zhOxA8J1lZvHTQ3hKPSP9mT/";
|
hashedPassword = "$6$7m77oPQxa$W9YnRLo1X2eqztBHwpoH8diHGkBno5O39AMyL9Qm8y8I6uW63H2Nwx4p239OG5zhOxA8J1lZvHTQ3hKPSP9mT/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,5 @@ programs.neovim = {
|
||||||
gruvbox-material
|
gruvbox-material
|
||||||
mini-nvim
|
mini-nvim
|
||||||
];
|
];
|
||||||
defaultEditor = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "alexandre";
|
||||||
|
dataDir =
|
||||||
|
"/home/alexandre/Documents"; # Default folder for new synced folders
|
||||||
|
configDir =
|
||||||
|
"/home/alexandre/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue