I have followed the instructions here Introduction and have installed multi user nix on redhat. I’m new to nix and have been doing some reading/experimenting to understand it better.
[root@rh1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@rh1 ~]# nix --version
nix (Nix) 2.1.1
I wonder if it’s possible to use autofs through nix without using nixos. I want to be able to manage the autofs configuration (and binary) through nix and be able to rollback to an old version if a change doesn’t work. Is this possible without using nixos? If it is possible, can somebody help point me to what I can read about or some example to follow to get this working? I’m confused if I need to create my own package or derivation that combines autofs + the configuration I want for it, or is this something that would be handled by a nix-profile, or something else entirely.
I have followed through the first 10 nix pill blogs and they’ve been very helpful. I will continue them but just wanted to get some immediate feedback on if I’m thinking about nix the right way.