#Nix support, questions and suggestions

26 messages · Page 1 of 1 (latest)

humble hearth
#

Hello everyone, I would like to know how nix support is going to on VanillaOS 2, since i didn't used VanillaOS 1 that much i have some questions:

  1. Will there be nix support to begin with, i have seen a topic about it on git so I'm assuming it's planned but just for being sure I need to ask this.
  2. Due to VanillaOS'es nature I'm assuming it will be sandboxed but what kind of container will that be? nix already has the option of sandboxing its applications, are you going to use that or will it be just another distrobox? Personally since it's already sanboxed im on team "let nix handle sandboxing". If so how are you going to implement this to abroot?
  3. will there be home-manager? Maybe not for your dotfiles but I think it's a good idea to let home-manager handle the nix packages, however i have no idea about how this will work on GNOME Software Center or Discover. I did some research and find out nix-env had some problems so if there be nix packages it would be better to have home-manager instead, but it will require some GUI work i guess. I personally don't mind doing it with a text editor but just asking to be sure.

If there anything you want to add to the question list, this is the right place.

feral sluice
#
  1. As a module perhaps
  2. It would just be default Nix, it can't be in a container
  3. Should be added by the user
wheat epoch
humble hearth
stark parrot
#

Can't you install nix packages on your home? I was sure that was the purpose of fleek https://getfleek.dev/

Install and manage all the tools you need to be productive. Use a simple command line tool or edit one YAML file and you're off to the races.

feral sluice
stark parrot
#

like, very terrible

feral sluice
stark parrot
#

packages are terrible

feral sluice
#

True

wheat epoch
wheat epoch
#

@humble hearth Nix-portable can work for you if you don't want to make a custom image with nix

humble hearth
#

Although im not against making my own image either.

wheat epoch
humble hearth
#

Got it, thank you. I gotta learn vib soon.

humble hearth
#

Yeaaaah... Apperantly Nix had only build sandboxing... I thought it was execution sandboxing... So forget everything i said. I can just add it to abroot no installing on bare metal needed.

stark parrot
# humble hearth Although im not against making my own image either.

in that case, be sure to bind mount /nix to /var/nix since the root is too small. Should be ok to just add an entry to /etc/fstab (at image level) and ABRoot should be able to keep that change during the upgrade. The other way is to add a sysd mount unit in /usr/.. to achieve the same

#

Or, probably better, just wait for us to fix the problem with fstab not being applied, that way you can simply bind mount /nix and install that manually without making your own image