How to install the nix package manager on BlendOS?
Can the community please guide me how to use the nix package manager on BlendOS?
Solution:Jump to solution
the install script will be able to run with full permissions, call it from
system.yaml
20 Replies
same as any other distro
Hmm.
I am using the determinate systems nix installer
The first requirement is to write to /nix
@krishnakumar, you've gained the level
1
And then the installer creates some automated accounts and permissions associated with these accounts
use single-user installation
yes
And then the current user is added to some of these groups
So the determinate systems installer will work?
I get various errors and failures
no you have to install in single user mode
/nix
can't be written to because /
is immutableYes. Understood
But the single user mode also writes to /nix right?
idk
the nixOS website is absolute dogshit
Yes
The single user mode also requires installation to /nix
It just runs without a daemon
then use
system.yaml
But the user accounts cannot be declared in that?
Solution
the install script will be able to run with full permissions, call it from
system.yaml
see what happens :P
Ok. Will try tomorrow
Spent too much time today in this
Put the command to run the install script In the commands section, right?
Won't it run every single time then?
it will have to
it's a fresh system
you don't get how this works do you
I get it partially I feel
It's an immutable OS
And changes are transactional and Atomic so that you'd not end up with a broken system
And the required packages can be declared in a text file
What I don't want to do is run a command or script every single startup
But of course more documentation will help users like me, who have only a limited knowledge
the entire system is rebuilt, a fresh system is made
in order for the fresh system to include nix, the script must be run
and the system isn't rebuilt at every boot
it's rebuilt when you run an update
Ok understood