linux-nixos-hyprland-config-dotfiles icon indicating copy to clipboard operation
linux-nixos-hyprland-config-dotfiles copied to clipboard

Got logged out of my system

Open DashingAdi opened this issue 2 months ago • 1 comments

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?

DashingAdi avatar Apr 06 '24 00:04 DashingAdi

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.

XNM1 avatar Apr 15 '24 18:04 XNM1