help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone using Nix on Guix System?


From: Yasuaki Kudo
Subject: Re: Anyone using Nix on Guix System?
Date: Mon, 4 Jan 2021 22:23:08 +0900

Thank you, let me try this!  I will report later!

> On Jan 3, 2021, at 19:58, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> 
> Hi!
> 
> While I haven't used it in a few months, here is what I did to set it
> up:
> 
> --8<---------------cut here---------------start------------->8---
> (operating-system
>  (inherit %bababa/os)
>  (packages (cons* nix
>                   ...))
>  (services (cons*
>             (service nix-service-type)
>             ...
>             ))
>  )
> --8<---------------cut here---------------end--------------->8---
> 
> Then, as per the manual:
> 
> --8<---------------cut here---------------start------------->8---
>        • Add a Nix channel and update it.  See Nix Package Manager
>          Guide (https://nixos.org/nix/manual/).
> 
>        • Create a symlink to your profile and activate Nix profile:
> 
>          $ ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile
>          $ source /run/current-system/profile/etc/profile.d/nix.sh
> --8<---------------cut here---------------end--------------->8---
> 
> Hope that helps!
> 
> -- 
> Pierre Neidhardt
> https://ambrevar.xyz/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]