Warning
I don't use Nix right now but if you want to see what I did there you can use this. I did a lot of customizations in modules directory, you can check them out.
My Home-Manager config to use in M2 MacBook Air.
Add these to your /etc/nixos/configuration.nix
{
#services.desktopManager.plasma6.enable = true;
services.xserver.desktopManager.gnome.enable = true;
#services.displayManager.sddm.enable = true;
services.displayManager.gdm.enable = true;
networking.networkmanager.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
allowUnfree = true;
}Don't forget to run a rebuild.
And clone the repo and rebuild
git clone https://github.com/UmutKzl/nix.git ~/.config/home-manager
nix run home-manager/master -- switch --flake ~/.config/home-manager