[Nix-dev] [Help] Accidentally removed configuration.nix

Ryan Trinkle ryan.trinkle at gmail.com
Mon Apr 10 05:40:44 CEST 2017


Jeaye,

I totally agree!  One really interesting approach to this that I've seen is
the 'pass' password manager, which can automatically handle the use of git
for passwords.  I wonder if it would be feasible to do this for nixos as
well, so that beginners (who might not be familiar with git) would
automatically be doing "the right" (or at least "a reasonable") thing
without needing to learn about it.


Ryan

On Sun, Apr 9, 2017 at 11:10 PM, Jeaye <contact at jeaye.com> wrote:

> On Thu, Apr 06, 2017 at 04:12:03PM +0200, nixos at vince.lol wrote:
> > Hi all,
> >
> > I acidentally removed my /etc/nixos/configuration.nix is there any way I
> can
> > get it back?
> >
> > Sincerely,
> > Vince
>
> I know you've sorted this out now, but I think it's worthwhile to mention
> that one of the benefits of having a text-based, declarative configuration
> for your OS is that you can very easily track it in git. NixOS will handle
> reverts for you, on an OS level, and git can handle them for you on a
> configuration level.
>
> If you don't want to host the configurations publicly, on Github or
> similar, you could do so privately, on Bitbucket or similar.
>
> Best of luck.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170409/bbccfac5/attachment.html>


More information about the nix-dev mailing list