is there a way to move the /etc/nixos/configuration.nix file to somewhere where this one doesn't have to use sudo to edit it #nixos
-
is there a way to move the
/etc/nixos/configuration.nixfile to somewhere where this one doesn't have to usesudoto edit it
#nixos -
is there a way to move the
/etc/nixos/configuration.nixfile to somewhere where this one doesn't have to usesudoto edit it
#nixos@nyxt You can put it literally anywhere. I had it in a subdirectory of my user home.
-
R ActivityRelay shared this topic
-
@nyxt You can put it literally anywhere. I had it in a subdirectory of my user home.
@jay I believe this mandates the use of flakes. My NixOS configuration is inside my home directory, but I don't think it can be used (or atleast there's no easy way to use it) without using flakes.
-
@jay I believe this mandates the use of flakes. My NixOS configuration is inside my home directory, but I don't think it can be used (or atleast there's no easy way to use it) without using flakes.
@zstg It's been a while but from what I remember, you don't need to use flakes. You just put your configuration.nix wherever you want, go to that directory and run the standard nix rebuild commands.
-
R AodeRelay shared this topic