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;