-
Notifications
You must be signed in to change notification settings - Fork 19
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
[READY] - added vim config to hide mouse and locale for military time #774
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fossadmin . Looks like CI is failing from the new drive by formatter implementation...
https://github.com/socallinuxexpo/scale-network/actions/runs/10984414775/job/30494982929?pr=774
please run nixfmt
against /nix/machines/_common/base.nix
and rebase
Hey @kylerisse , just pushed reformatted update through. |
Looks like reformatting with nixfmt is what caused "nix checks" to fail. Manually reformatted based on the errors and "nix checks" is now successful. |
FYI, I do not have the nixfmt command on my system but I'm running NixOS unstable and ran |
Not sure. This was just merged Saturday night with no documented guidelines, so you’re the first victim. Best to get comment from for @djacu and @sarcasticadmin . |
Since its part of the flake.nix |
@sarcasticadmin maybe a shell.nix file with all the tools needed so we can just run nix-shell in the repo and have a similar dev environment with everything we need? I just ran
|
Thanks @sarcasticadmin for clearing up the confusion. Hi @fossadmin you can get the equivalent of a
|
@fossadmin next request is to please squash your commits. Since you have 4 the process should be:
In the editor, replace the word |
@kylerisse I tried |
@kylerisse your instructions were perfect, thanks! Looks like it's down to 1 commit now. |
This doesn't look like a nix or dev environment problem but possibly that you are getting rate limited by GH. Do you have a PAT setup? |
Hey @djacu , I'm using SSH keys but just checked my PAT setup and it says it expired on Sept. 6th. I'll update it in the morning and see if that fixes my problem. Still probably need to reinstall NixOS due to some other issues with the wofi app launcher for wayland throwing this error:
|
That was the same error we say while were at nullspace. Its unclear why you'd be setting a bad credentials error since you dont need credentials to download the source: https://api.github.com/repos/hercules-ci/flake-parts/tarball/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca (Im able to download it successfully). Are you using some kind of shared VPN or proxy? I like djacu's recommendation of trying to install a GH PAT to see if that helps, but its still odd that you get a 401 from the gitub api. Another thing to check is that you dont have a |
@sarcasticadmin yeah, it's really weird. I don't see any .netrc files and not using a VPN or proxy. I'm hoping a fresh install does the trick but I'll try the PAT as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fossadmin thanks for rebasing and working through the formatting. PR LGTM! We should have @owendelong review before merging as originally noted.
I don't completely understand it either but searching for some keywords returned a bunch of gh rate limiting discussions. If you can download the file in your browser by following the link then it's possibly something else |
It was really weird because I was able to download the file via that link in my browser. I reinstalled NixOS this morning and seems to be working fine now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you can fixup the changes once your done, then Ill merge
@sarcasticadmin done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, looks great @fossadmin
Description of PR
Fixes: #694
Added vim config to disable mouse plus plugin for nix syntax highlighting.
Also, added locale settings for 24h military time.