I’m newbie to NixOS and I want to use a simple config that I got from github and here’s the output
[nix-shell:~/Documents]$ sudo nixos-rebuild switch --flake .#pango
error: flake 'path:/home/pango/Documents' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."pango".config.system.build.nixos-rebuild', 'legacyPackages.x86_64-linux.nixosConfigurations."pango".config.system.build.nixos-rebuild' or 'nixosConfigurations."pango".config.system.build.nixos-rebuild'
I also adding this command to nix conf file but it still says that I have to use --experimental-features command everytime I use nix-command / nix flake command
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.extraOptions = ''
experimental-features = nix-command
'';
I don’t understand what did I miss and why this happpen can you help me? Thank you.