Compare commits

..

5 Commits

Author SHA1 Message Date
c6fc32fbe7 radx: desactivation rabbitmq 2017-04-13 19:52:12 +02:00
Yves Dubromelle
42db758638 munin: postfix commande ppour donner les droits de lecture à munin 2017-04-11 15:14:41 +02:00
System administrator
07d8924ecd gparted: coquille, était "parted" 2017-04-11 13:46:29 +02:00
System administrator
2dc04d849b encore une modification de port pour hoogle 2017-04-11 13:46:29 +02:00
184de980a5 munin: EXPERIMENTAL est membre du groupe postfix pour grapher les mails 2017-04-11 01:08:30 +02:00
7 changed files with 42 additions and 3 deletions

View File

@@ -41,6 +41,9 @@ download-sources:
# https://nixos.org/wiki/Download_all_sources
nix-store -r $$(grep -l outputHash $$(nix-store -qR $$(nix-instantiate '<nixpkgs>' -A geeqie) | grep '.drv$$'))
build-iso:
nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=/etc/nixos/base/iso-image/livecd-minimal.nix
##--------- Commandes spécifiques pour GIT
push: submodules-push

View File

@@ -12,7 +12,7 @@ mkIf cfg.graphical {
# Paquets
environment.systemPackages = with pkgs; [
# Gestion de FS
parted # Gestion graphique de partitions
gparted # Gestion graphique de partitions
unetbootin # création de clefs USB bootables
];
}

View File

@@ -266,7 +266,7 @@ in
kibana = true;
nix-serve-client = true;
nix-serve-server = true;
rabbitmq = true;
#rabbitmq = true;
tincAddress = "192.168.12.3/24";
tincExtraConfig = ''
ConnectTo = monstre_dubronetwork_fr

View File

@@ -0,0 +1,7 @@
all:
nixos-generate-config --root /mnt
git config --global user.email "nixos-live@example.org"
git config --global user.name "NixOS Live"
cd /mnt/etc/nixos && git init . && git add . && git commit -m "initial commit"
cd /mnt/etc/nixos && git submodule add http://gogs.prunetwork.fr:80/nixos-config/nixos-template-base.git base
cd /mnt/etc/nixos && git submodule add https://gogs.prunetwork.fr/Capgemini-CDS-Arkea/template-nixos.git capgemini-cmb

View File

@@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
{
imports = [
capgemini-cmb/default.nix
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
nixos-template-base/base.nix
];
# Custom name
isoImage.isoName = pkgs.lib.mkForce "${config.isoImage.isoBaseName}-capgemini-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso";
# Avoid having the terminal flooded by kernel audit messages
boot.kernelParams = [ "audit=0" ];
# Files to copy to the liveCD
isoImage.contents = [
{
source = ./Makefile.installation;
target = "/custom/Makefile";
}
];
environment.shellAliases = { nixos-generate-custom-config = "cd /iso/custom/ && make";};
networking.hostName = "nixos-livecd.corp.capgemini.com";
}

View File

@@ -11,6 +11,6 @@ mkIf cfg.developpement-haskell {
services.hoogle = {
enable = true;
port = 8888;
port = 10080;
};
}

View File

@@ -27,6 +27,12 @@ mkIf true {
path = with pkgs; [ munin lm_sensors ];
serviceConfig.TimeoutStartSec = "3min";
};
users.extraUsers.munin = {
#extraGroups = [ "postfix" "root" ];
extraGroups = [ "postfix" ];
};
# chmod a+rX -Rv /var/lib/postfix/queue/
## Munin server -- generate /var/www/munin
services.munin-cron = {