[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] [Help] Accidentally removed configuration.nix
From:       Alexey Shmalko <rasen.dubi () gmail ! com>
Date:       2017-04-06 16:03:22
Message-ID: 87bms9bk1h.fsf () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


nixos@vince.lol writes:

> Hi all, 
>
> I acidentally removed my /etc/nixos/configuration.nix is there any way I can get it back? 

If you have enabled system.copySystemConfiguration option, you can find
your config at /var/run/current-system/configuration.nix

Though, the option is disabled by default, so it's unlikely that will help
you this time :(

Also, it only copies the main configuration file and not any included
files.

Regards,
Alexey

["signature.asc" (application/pgp-signature)]

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic