[root@nixos:/etc/nix]# sudo chmod 777 /etc/nix/nix.conf chmod: changing permissions of '/etc/nix/nix.conf': Read-only file system
I remember this is some filesystem / Linux kernel utility to change this, I'm not sure what it's called though?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
This file is managed by Nix - hence it's in the store path - and read only:
readlink -f /etc/nix/nix.conf /nix/store/9cidrvc5n3fjf9zplxrwiyh0g9nq07bb-nix.conf
One needs to set the
configuration.nix to modify this file.