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

Change userName? #320

Open
jonahbron opened this issue Jan 11, 2024 · 5 comments · May be fixed by #443
Open

Change userName? #320

jonahbron opened this issue Jan 11, 2024 · 5 comments · May be fixed by #443

Comments

@jonahbron
Copy link

I found the option for setting the username of the account used.

userName = mkOption {

But it is set to readonly. Is there an important reason that's not configurable, or is there some other avenue to set it?

@cfitz25
Copy link

cfitz25 commented Dec 16, 2024

im curious too as i think this causes a username collision with a username i have set in home-manager

@boozedog
Copy link

I would love to change username for both home-manager and making outbound ssh easier

@osbm
Copy link

osbm commented Feb 18, 2025

Yeah setting the username would help a lot of people. What are the maintainers thought on this?

Should one of us just open a PR?

@t184256
Copy link
Collaborator

t184256 commented Feb 18, 2025

I don't remember/know why it's readonly; feel free to try and see what breaks.

Outbound SSH is kind of of a weak argument, because there's programs.ssh.matchBlocks.<name>.user. I don't know what "set username in home-manager" means, so it'd be nice if somebody explained it to me.

@osbm
Copy link

osbm commented Feb 18, 2025

i just set readOnly to false in my fork and set the userName variable with lib.mkForce in my config and everything works as far as i can tell.

@osbm osbm linked a pull request Feb 18, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

5 participants