I'm assuming you come from the default NixOS GNOME install.
- Clone this repository.
- Copy your
/etc/nixos/hardware-configuration.nixto the<repo>/src/hardware-configuration.nix - In the
<repo>/flake.nixmake sure you change theusernameto the one you used when you installed NixOS. - Rebuild the system with
sudo nixos-rebuild switch --flake '.#fred'. Just replacefredwith your username. - TO BE CONTINUED...
If keystore keeps asking for a password, it means it could not be unlocked automatically, we can delete the keyring file to fix this. Next time, when asked for a password, leave the password EMPTY - so that the Display Manager can unlock it on auto-login.
Delete the login.keyring file:
rm .local/share/keyrings/login.keyring