From 5444be4fd28a2529712b7e00cbfb107e657f9515 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Tue, 20 Sep 2016 15:21:48 +0200 Subject: [PATCH] copie de configuration.nix par nix dans l'environement courant --- public/environment.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/environment.nix b/public/environment.nix index 08a0320..30e6e7d 100644 --- a/public/environment.nix +++ b/public/environment.nix @@ -14,6 +14,9 @@ in # The NixOS release to be compatible with for stateful data such as databases. system.stateVersion = "16.03"; + # copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and links it from the resulting system (getting to /run/current-system/configuration.nix) + system.copySystemConfiguration = true; + # On autorise les paquets non-libres nixpkgs.config.allowUnfree = true;