B
blendOSβ€’4mo ago
krishnakumar

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