Compare commits
10 Commits
2016-10-25
...
upgrade-16
| Author | SHA1 | Date | |
|---|---|---|---|
| 021b1d5c26 | |||
|
|
31f57965f9 | ||
|
|
0a3d820dd6 | ||
|
|
f0f266cb55 | ||
|
|
1916d6eb90 | ||
| fa32aed569 | |||
| 9201266575 | |||
| 756a18b2e8 | |||
| 7d28694819 | |||
| ed5420e1b0 |
2
Makefile
2
Makefile
@@ -37,7 +37,7 @@ push: submodules-push
|
|||||||
|
|
||||||
submodules-update:
|
submodules-update:
|
||||||
#git submodule update --remote
|
#git submodule update --remote
|
||||||
#git submodule foreach git co master
|
git submodule foreach git co master
|
||||||
git submodule foreach git ff
|
git submodule foreach git ff
|
||||||
|
|
||||||
submodules-push:
|
submodules-push:
|
||||||
|
|||||||
@@ -55,10 +55,27 @@ in
|
|||||||
online-ipv6 = mkEnableOption "Profil pour activer l'IPv6 de online.net";
|
online-ipv6 = mkEnableOption "Profil pour activer l'IPv6 de online.net";
|
||||||
print = mkEnableOption "Profil pour activer cups & pouvoir imprimer.";
|
print = mkEnableOption "Profil pour activer cups & pouvoir imprimer.";
|
||||||
rabbitmq = mkEnableOption "Profil pour activer le service de messagerie AMQP.";
|
rabbitmq = mkEnableOption "Profil pour activer le service de messagerie AMQP.";
|
||||||
|
radicale = mkEnableOption "Profil pour activer le service d'hébergement de calendrier + tâches & contacts.";
|
||||||
swap = mkEnableOption "Profil pour que le swap soit activé.";
|
swap = mkEnableOption "Profil pour que le swap soit activé.";
|
||||||
virtualbox = mkEnableOption "Profil pour l'utilisation de VirtualBox.";
|
virtualbox = mkEnableOption "Profil pour l'utilisation de VirtualBox.";
|
||||||
xmonad = mkEnableOption "Profil pour activer le gestionnaire de fenêtres xmonad.";
|
xmonad = mkEnableOption "Profil pour activer le gestionnaire de fenêtres xmonad.";
|
||||||
znc = mkEnableOption "Profil pour activer le relais IRC ZNC.";
|
znc = mkEnableOption "Profil pour activer le relais IRC ZNC.";
|
||||||
|
|
||||||
|
tincAddress = mkOption {
|
||||||
|
default = "";
|
||||||
|
example = "192.168.1.1";
|
||||||
|
description = "Adresse du noeud tinc local";
|
||||||
|
type = lib.types.string;
|
||||||
|
};
|
||||||
|
tincExtraConfig = mkOption {
|
||||||
|
default = "";
|
||||||
|
example = ''
|
||||||
|
Mode = router
|
||||||
|
ConnecTo = bar
|
||||||
|
'';
|
||||||
|
description = "Configuration supplémentaire pour tinc";
|
||||||
|
type = lib.types.string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
#* Utilisé pour avoir des raccourcis de machine
|
#* Utilisé pour avoir des raccourcis de machine
|
||||||
r6d.computers = {
|
r6d.computers = {
|
||||||
@@ -173,6 +190,7 @@ in
|
|||||||
|
|
||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
docker = true;
|
docker = true;
|
||||||
|
radicale = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isRadx {
|
(mkIf comp.isRadx {
|
||||||
@@ -205,6 +223,8 @@ in
|
|||||||
|
|
||||||
r6d.config-generator = {
|
r6d.config-generator = {
|
||||||
laptop = true;
|
laptop = true;
|
||||||
|
tincAddress = "192.168.12.2/24";
|
||||||
|
tincExtraConfig = "ConnectTo = phenom_dubronetwork_fr";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isMonstre {
|
(mkIf comp.isMonstre {
|
||||||
@@ -258,6 +278,7 @@ in
|
|||||||
nix-serve-server = true;
|
nix-serve-server = true;
|
||||||
laptop = true;
|
laptop = true;
|
||||||
edition-photo = true;
|
edition-photo = true;
|
||||||
|
tincAddress = "192.168.12.1/24";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(mkIf comp.isRollo {
|
(mkIf comp.isRollo {
|
||||||
|
|||||||
@@ -16,8 +16,3 @@ case "$TERM" in
|
|||||||
xterm) TERM=xterm-256color;;
|
xterm) TERM=xterm-256color;;
|
||||||
screen) TERM=screen-256color;;
|
screen) TERM=screen-256color;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# info gnupg, invocate gpg agent
|
|
||||||
GPG_TTY=$(tty)
|
|
||||||
export GPG_TTY
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ in
|
|||||||
# Lancement de dbus pour les utilisateurs
|
# Lancement de dbus pour les utilisateurs
|
||||||
services.dbus.socketActivated = true;
|
services.dbus.socketActivated = true;
|
||||||
|
|
||||||
|
# NixOS Hardening
|
||||||
|
#security.grsecurity.enable = true;
|
||||||
|
|
||||||
# Paquets
|
# Paquets
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -20,9 +20,10 @@ mkIf cfg.hydra-builder {
|
|||||||
nix.gc.automatic = true;
|
nix.gc.automatic = true;
|
||||||
|
|
||||||
users.users."hydrabld" = {
|
users.users."hydrabld" = {
|
||||||
description = "Execution des job hydra";
|
description = "Execution des jobs hydra";
|
||||||
group = "nixbld";
|
group = "nixbld";
|
||||||
isNormalUser = false;
|
extraGroups = [ "nixbld" ];
|
||||||
|
isNormalUser = true;
|
||||||
|
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYpjcWJCf8dXpv2LmoIaNVbwZXEC50QUU6Az+lqeD89 hydra radx"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYpjcWJCf8dXpv2LmoIaNVbwZXEC50QUU6Az+lqeD89 hydra radx"
|
||||||
|
|||||||
Reference in New Issue
Block a user