Or the best way to nix build from configuration file hosted on github
what i tried:imports = [ (builtins.fetchGit {
url = “https://github.com/my-user/my-repo.git”;ref = “main”; })
];
what i got :
Erro: the option “lastModified” does not exist
You must log in or register to comment.
There are multiple possibilities here. I’ll start with the simplest. If my-repo is you own repo that defines your NixOS configuration, why not git clone it onto your machine and then use it to build your system? Or to put out another way, what are you building from, if not your NixOS configuration?