XNM1 / linux-nixos-hyprland-config-dotfiles

Linux 🐧 configuration based on NixOS ❄️, Hyprland, and Catppuccin Macchiato theme 😸 for a consistent, complete, and customizable experience. 🚀
MIT License
292 stars 21 forks source link

Got logged out of my system #9

Open DashingAdi opened 3 months ago

DashingAdi commented 3 months ago

I did exactly as you told except I commented out some nix files (made sure to check them if they were important or not). Now when I rebooted my system authentication fails. What should I do?

XNM1 commented 2 months ago

Hello,

I'm sorry to hear about the inconvenience. Sometimes, my documentation may lack information, but I've recently been working on improving it. Regarding your issue, it seems that during the installation via Calamares, you set up your username differently from mine, which is xnm, but you haven't updated it in the nixos/users.nix file under the following section:

  users.users.xnm = {
    isNormalUser = true;

If your username is different from xnm, you can run the command rg --hidden 'xnm' (or use standard grep) in the directory where my repository is cloned. This command will help you find all occurrences of xnm and allow you to replace them with your username before applying my configurations. Additionally, I recommend deleting the following files: home/.gitconfig, home/projects/.gitconfig.personal, and home/work/.gitconfig.work, as they are configured for personal use. Alternatively, you can adjust them to suit your requirements while preserving the initial structure.

Please let me know if my assumption is correct.