system-manager icon indicating copy to clipboard operation
system-manager copied to clipboard

Add info about creation of flake.nix

Open ShalokShalom opened this issue 1 year ago • 3 comments

Until, there was no info about the name, path or existence of the flake.nix I am a newbie myself, so if I have messed this up, please be gentle. 🙂

ShalokShalom avatar Apr 21 '24 21:04 ShalokShalom

I don't think that these are the right suggestions, flakes should not live in privileged locations, it makes more sense to define the flake in some git clone of the repo where you'll keep this code. In general it is up to the user to decide where to store this file.

Also, the following section describes what to put in the flake file, which I think makes it rather clear what to do.

This project is an MVP currently and although it's usable for what it can currently do, it is probably not really appropriate for people new to nix.

r-vdp avatar Apr 21 '24 22:04 r-vdp

Thanks a lot for answering so swiftly 🙂

I literally asked the Matrix channel, and multiple people told me, flakes can live where they want. And that the mentioned paths are good, cause they live together with other Nix files there.

I am packaging this, so that is why "I have to decide for the user" where this is going to be. So I will choose a place next to the home directory, I guess.

ShalokShalom avatar Apr 22 '24 00:04 ShalokShalom

Yeah, I personally feel that they should not be root-owned, that just encourages using sudo for everything all the time.

r-vdp avatar Apr 22 '24 07:04 r-vdp