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:
the install script will be able to run with full permissions, call it from system.yaml
Jump to solution
20 Replies
Asterisk
Asterisk2mo ago
same as any other distro
krishnakumar
krishnakumar2mo ago
Hmm. I am using the determinate systems nix installer The first requirement is to write to /nix
Valkyrja
Valkyrja2mo ago
@krishnakumar, you've gained the level 1
krishnakumar
krishnakumar2mo ago
And then the installer creates some automated accounts and permissions associated with these accounts
hanna (password generator)
use single-user installation
Asterisk
Asterisk2mo ago
yes
krishnakumar
krishnakumar2mo ago
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
Asterisk
Asterisk2mo ago
no you have to install in single user mode /nix can't be written to because / is immutable
krishnakumar
krishnakumar2mo ago
Yes. Understood But the single user mode also writes to /nix right?
Asterisk
Asterisk2mo ago
idk the nixOS website is absolute dogshit
krishnakumar
krishnakumar2mo ago
Yes The single user mode also requires installation to /nix It just runs without a daemon
Asterisk
Asterisk2mo ago
then use system.yaml
krishnakumar
krishnakumar2mo ago
But the user accounts cannot be declared in that?
Solution
Asterisk
Asterisk2mo ago
the install script will be able to run with full permissions, call it from system.yaml
Asterisk
Asterisk2mo ago
see what happens :P
krishnakumar
krishnakumar2mo ago
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?
Asterisk
Asterisk2mo ago
it will have to it's a fresh system you don't get how this works do you
krishnakumar
krishnakumar2mo ago
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
Asterisk
Asterisk2mo ago
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
krishnakumar
krishnakumar2mo ago
Ok understood
Want results from more Discord servers?
Add your server