From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Yasuaki Kudo <yasu@yasuaki.com>, help-guix <help-guix@gnu.org>
Subject: Re: Anyone using Nix on Guix System?
Date: Sun, 03 Jan 2021 11:58:39 +0100 [thread overview]
Message-ID: <877doumgm8.fsf@ambrevar.xyz> (raw)
In-Reply-To: <B23794E1-AA6F-4DF8-9409-E162FE7E6A0D@yasuaki.com>
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
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/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
next prev parent reply other threads:[~2021-01-03 10:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 8:30 Anyone using Nix on Guix System? Yasuaki Kudo
2021-01-03 10:58 ` Pierre Neidhardt [this message]
2021-01-04 13:23 ` Yasuaki Kudo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877doumgm8.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=help-guix@gnu.org \
--cc=yasu@yasuaki.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).