Compare commits

...

8 Commits

4 changed files with 22 additions and 2 deletions

View File

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

View File

@@ -13,13 +13,14 @@ Actuellement, les scripts contiennent un peu de configuration spécifique pour l
# Notes pour l'upgrade de 16.03 vers 16.09 # Notes pour l'upgrade de 16.03 vers 16.09
* mettre le dépôt base sur la branche upgrade-16.09 * mettre le dépôt base sur la branche upgrade-16.09
* changer le channel nixos : ```nix-channel --add https://nixos.org/channels/nixos-16.09 nixos```
* activer x11 dans le configuration.nix * activer x11 dans le configuration.nix
~~~ ~~~
services.xserver.enable = true; services.xserver.enable = true;
~~~ ~~~
* remplacer le bootloader * remplacer le bootloader si gummiboot était utilisé
~~~ ~~~
boot.loader.gummiboot.enable = true; boot.loader.gummiboot.enable = true;

18
public/network.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkIf mkMerge mkThenElse;
cfg = config.r6d.config-generator;
computers = config.r6d.computers;
profiles = config.r6d.profiles;
in
mkIf true {
# fix: Hostname -s renvoie "Unknown host" alors que hostname renvoie la bonne valeur
# Il s'avère que hostname vérifie la validité du FQDN et du reverse.
# Fixer ces paramètres dans les hosts permet de faire tomber en marche
networking.extraHosts = ''
127.0.0.1 ${config.networking.hostName}
'';
}

View File

@@ -12,6 +12,7 @@ in
# installées systématiquement # installées systématiquement
./environment.nix ./environment.nix
./localisation.nix ./localisation.nix
./network.nix
#./network-ipv6.nix #./network-ipv6.nix
./sudo.nix ./sudo.nix
./service-haveged.nix ./service-haveged.nix