Closed happysalada closed 3 years ago
It appears to be that the machine is asking me to provide the configuration for another user that I created before. Could it be that upon switching to a flake, a configuration for every user is required?
I could finally switch to it, but I had to provide an additional user that I'm not really sure where it comes from. I added
darwinConfigurations.yt = darwin.lib.darwinSystem {
modules = [./darwin.nix];
};
And I could actually switch to the flake.
This should work the same as NixOS, the current hostname is used to select the default configuration. So if that does not (yet) match the the configuration you want to apply it must be specified, eg. --flake .#yt
.
Thanks a lot for always taking the time to answer even noob questions! ❤️
Trying to use flakes for the first time. I'm getting the following error
Here is the configuration I am using
Here is what I have in darwin.nix
Let me know if you want more information. I basically took my old darwin config and just removed the
import <nixpkgs-unstable
from it. Thanks you for providing nix-darwin!