this post was submitted on 06 Jul 2025
58 points (98.3% liked)
Linux
57588 readers
907 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
to install nix succesfully on my laptop I had to do the following steps:
guix install nix
nix-channel --list
if nixpkgs is not in channel then add
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
sudo nix-channel --update --verbose
now change the group and ower of /nix
cd /nix/
sudo chown -R {your user name} ./var
sudo chown -R {your user name} ./store
sudo chgrp -R users ./var
sudo chgrp -R users ./store
now update the channels
nix-channel --update --verbose
################################
then install say firefox
nix-env -iA nixpkgs.firefox
Thanks! I think I need to set up the service first in my config.scm, right?
I jpst googled it and got these steps (haven't tried them yet):
To set up a Nix service in your Guix configuration, you need to enable the service in your configuration file, typically located at
/etc/config.scm
. You can refer to the Guix documentation for detailed instructions on how to properly configure and manage services.Step one: Open config file
Step 2: Enable nix service
Save the file and reconfigure:
After reconfiguration, verify that the Nix service is running correctly by checking the service status:
Additional Notes:
Ensure you are using the latest stable version of Guix to avoid compatibility issues.
If you encounter any problems, consult the Guix documentation for troubleshooting tips.
The Nix service allows you to use Nix packages alongside Guix, providing flexibility in package management.
Hope this helps!
No I didn't do anything in my config. You can though and it seems like a better less kludgy way to do it, I haven't done that yet. If I ever figure it out I'll let you know.