Compare commits

...

4 Commits

Author SHA1 Message Date
Alexandre LUCAZEAU 086d9760bc ADD minimal neovim configuration 2023-07-27 10:16:34 +02:00
Alexandre LUCAZEAU aca6464f5b DEL VPN configuration 2023-07-27 10:16:03 +02:00
Alexandre LUCAZEAU 26f42cb446 ADD loading synchting module and enable flakes 2023-07-27 10:14:54 +02:00
Alexandre LUCAZEAU 13987650a7 ADD synchting service 2023-07-27 10:13:00 +02:00
6 changed files with 20 additions and 19 deletions

View File

@ -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

View File

@ -31,5 +31,8 @@
source = ./configs/zellij;
};
};
home.sessionPath = [
"$HOME/.local/bin"
];
}

View File

@ -68,6 +68,7 @@
graphviz
evince
kdeconnect
neovim
];
nixpkgs.config.permittedInsecurePackages = [
"ferdi-5.8.1"

View File

@ -14,6 +14,7 @@
# ./vpn.nix
# ./VPN.nix
../modules/prometheus-node.nix
../modules/syncthing.nix
];
# Use the systemd-boot EFI boot loader.
@ -201,4 +202,5 @@ nix.settings.auto-optimise-store = true;
hashedPassword = "$6$7m77oPQxa$W9YnRLo1X2eqztBHwpoH8diHGkBno5O39AMyL9Qm8y8I6uW63H2Nwx4p239OG5zhOxA8J1lZvHTQ3hKPSP9mT/";
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}

View File

@ -11,6 +11,5 @@ programs.neovim = {
gruvbox-material
mini-nvim
];
defaultEditor = true;
};
}

14
modules/syncthing.nix Normal file
View File

@ -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
};
};
}