Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got logged out of my system #9

Open
SmoggyOwO opened this issue Apr 6, 2024 · 1 comment
Open

Got logged out of my system #9

SmoggyOwO opened this issue Apr 6, 2024 · 1 comment

Comments

@SmoggyOwO
Copy link

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
Copy link
Owner

XNM1 commented Apr 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants