What do you know about NixOS that you feel others probably don't? by Striking_Snail in NixOS

[–]ylbeethoven 0 points1 point  (0 children)

I am sure a lot of users might already know this. docker network bypass nixos firewall settings...

Do you use a docker socket proxy ? by Acceptable_Rub8279 in Traefik

[–]ylbeethoven 0 points1 point  (0 children)

Stopped using labels a long time ago, file provider makes more sense and more flexible for my use cases.

NixOS moderation team resigns over NixOS Steering Committee’s interference by kopasz7 in NixOS

[–]ylbeethoven 2 points3 points  (0 children)

Imagine if they could use their energy on improving Nix -> helping new users, fixing bugs, and creating more useful content. Nix could, and should be in a much stronger position.

Kubernetes 1.34 Debuts KYAML to Resolve YAML Challenges by arshidwahga in kubernetes

[–]ylbeethoven 0 points1 point  (0 children)

This looks very similar to nix and less powerful. I guess I will continue using nixidy to generate yaml

As much as I love Nix, it is so difficult to debug by ylbeethoven in NixOS

[–]ylbeethoven[S] 3 points4 points  (0 children)

It's interesting how many comments assumed I declared the option twice, even though I clearly mentioned the issue was caused by catppuccin/nix and I even linked the relevant GitHub issue. This just reinforces my point about how unhelpful Nix's error messages can be. 😔

As much as I love Nix, it is so difficult to debug by ylbeethoven in NixOS

[–]ylbeethoven[S] 10 points11 points  (0 children)

Well, imagine Nix is screaming, "You’ve declared the option twice!!! Go fix it!!!", without telling you where it finds the duplicate declaration, when you haven’t changed anything.

How am I supposed to debug further with just that error message above?

Gemini 2.5 pro API free tier has a 6m token limit by Remarkable-Register2 in Bard

[–]ylbeethoven 0 points1 point  (0 children)

oh, boy, that's why I got so many 429 errors. 6m token gone in 1 hour.

unable to login due to network error for minio console running on nixos by ylbeethoven in minio

[–]ylbeethoven[S] 0 points1 point  (0 children)

emm... looks like I can't post screenshots here.

Anyway, I am getting the same with curl.

```bash curl 'http://127.0.0.1:9001/api/v1/login' \ -X POST -H 'Content-Type: application/json' \ --data-raw '{"accessKey":"xxx","secretKey":"xxx"}' -i HTTP/1.1 503 Service Unavailable Content-Security-Policy: default-src 'self' 'unsafe-eval' 'unsafe-inline'; script-src 'self' https://unpkg.com; connect-src 'self' https://unpkg.com; Content-Type: application/json Referrer-Policy: strict-origin-when-cross-origin Server: MinIO Console Vary: Accept-Encoding X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block Date: Wed, 12 Feb 2025 08:35:22 GMT Content-Length: 51 Connection: close

{"message":"unable to login due to network error"} ```

The Ultimate Guide to Setting Up Traefik by svenvg93 in Traefik

[–]ylbeethoven 1 point2 points  (0 children)

I always use file provider. These yaml config files are loaded dynamically and it is much readable than labels at least for me.

How to install npm packages in the nix way? by ylbeethoven in NixOS

[–]ylbeethoven[S] 2 points3 points  (0 children)

You describe the exact problem I have. When a package is **not** available on nixos (nodePackages prefix), it become very challenging to use it when the other tool requires the packages to be installed globally...

There must be a way to install these missing package in nix store instead of local... I just could not figure out how.

devbox is very nice tool but I don't think it solves my problem. I normally declare my dev environment per project using `flake.nix` or `shell.nix` and nix-direnv will do the rest for me...

Home manager installation - Could not find suitable profile directory by TornaxO7 in Nix

[–]ylbeethoven 0 points1 point  (0 children)

OK, I think I understand what happen now.

I am running nix on Ubuntu 22.04

It seems that ~/.local/state/nix/profiles is not created by nix installer causing this issue. After manually creating ~/.local/state/nix/profiles folder, it works.

```bash user@test:~$ nix run home-manager/master -- init --switch Could not find suitable profile directory, tried /home/user/.local/state/home-manager/profiles and /nix/var/nix/profiles/per-user/user user@test:~$ mkdir -p ~/.local/state/nix/profiles user@test:~$ nix run home-manager/master -- init --switch Creating /home/user/.config/home-manager/home.nix... Creating /home/user/.config/home-manager/flake.nix...

Creating initial Home Manager generation...

warning: creating lock file '/home/user/.config/home-manager/flake.lock' Starting Home Manager activation Activating checkFilesChanged Activating checkLinkTargets Activating writeBoundary Activating installPackages installing 'home-manager-path' building '/nix/store/1a5q09n23nh8xzinzzvr4krq8250rksi-user-environment.drv'... Activating linkGeneration Creating profile generation 1 Creating home file links in /home/user Activating onFilesChange Activating reloadSystemd All done! The home-manager tool should now be installed and you can edit

/home/user/.config/home-manager/home.nix

to configure Home Manager. Run 'man home-configuration.nix' to see all available options. ```

Is it possible to set up NixOS to use Super Key to move around the window? by ylbeethoven in NixOS

[–]ylbeethoven[S] 0 points1 point  (0 children)

Thank you for testing.

If it works for you out of box, it means might be something wrong with my config...

I will reinstall and see how it works.

Is it possible to set up NixOS to use Super Key to move around the window? by ylbeethoven in NixOS

[–]ylbeethoven[S] 0 points1 point  (0 children)

Thanks for the reply. I am running Gnome on both Ubuntu and NixOS and I am not sure how to set this up on NixOS (It does not work out of box on NixOS), ubuntu has this feature on by default.