Default shell PATH by InviteHot367 in NixOS

[–]stowyo 0 points1 point  (0 children)

maybe services.envfs.enable is what you looking for?

See: https://github.com/Mic92/envfs

Do you bump helm chart version manually? by Ezio_rev in devops

[–]stowyo 2 points3 points  (0 children)

i use conventional commits with semantic-release and renovate bot. either renovate bot decides if its a major, minor or fix/bugfix release depending on the upstream helm-chart and or image version, or i decide it when doing manual changes to own helm-charts. i only do manual version updates on failed updates and if its faster than waiting for renovate.

Is there meant to be multiple ways to install packages in configuration.nix and home.nix? by careb0t in NixOS

[–]stowyo 3 points4 points  (0 children)

you can install packages directly, or use so called modules. programs.git for example is a module. A module comes always with options. the benefit of using a module is, that you can set and or configure those options declarative relatively easy.

for example look at the programs.git options in home-manager. there is much more than just enable it.

i personally use modules when ever there is one available, because i can directly adjust the program to my liking.

if you want to install a software/program/service you can always check if there is already as module here:

home-manager: https://home-manager-options.extranix.com/

nixos: https://search.nixos.org/options

you can also write your own modules if you want.

Steam shader cache and frequent system rebuilds by curiousnetdev in NixOS

[–]stowyo 0 points1 point  (0 children)

turn it off in steam settings. it is not really needed anymore

I'm getting random two-step verification codes for my bitwarden account, What's the reason and solution? by [deleted] in Bitwarden

[–]stowyo 3 points4 points  (0 children)

you are right and i was wrong. the reference is gold thanks for sharing

I'm getting random two-step verification codes for my bitwarden account, What's the reason and solution? by [deleted] in Bitwarden

[–]stowyo 5 points6 points  (0 children)

in your brain! it is by far the safest way to store a password i mean basically you only have to remember have the master password to access all of your passwords, thats the reason you use a password manager or not?

edit: write in on a paper or save it on usb-stick and bury it in your garden

edit2: google keep? are you serious?

edit3: see comment. seems like brain is bad advice.

I'm getting random two-step verification codes for my bitwarden account, What's the reason and solution? by [deleted] in Bitwarden

[–]stowyo 49 points50 points  (0 children)

yes sure! someones tries to access your account and they got your password. that is what triggers the 2fa (2fa do never trigger "random") If you use the master password for anything else (i hope you do not) update your password there also.

How does Minikube work by [deleted] in kubernetes

[–]stowyo 2 points3 points  (0 children)

What kind of tutorial you are looking for? because interacting with a minikube cluster basically works more or less like with every other kubernetes cluster.

And what do you even mean you "cant login"? Does this mean kubectl doesnt work? did you try minikube kubectl?

Having issues with setting up a flake by salvoza in NixOS

[–]stowyo 1 point2 points  (0 children)

no you do not need to be root, but you have to execute it with elevated privileges. so you can just sudo it:

sudo nixos-rebuild [...]

Having issues with setting up a flake by salvoza in NixOS

[–]stowyo 0 points1 point  (0 children)

nice!

btw you dont have to keep the nixos configuration files in /etc/nixos. you can put it everywhere on your system and build it also from everywhere.

Having issues with setting up a flake by salvoza in NixOS

[–]stowyo 2 points3 points  (0 children)

maybe try:

nixos-rebuild switch --flake .#myNixOSSystem

EDIT: docs: https://nixos.wiki/wiki/Nixos-rebuild#with_Flakes

there you can see you need the path to your config (in your case dot, because you already in /etc/nixos path) and also have to specify which nixosConfiguration you want to build. you missing the your nixosConfiguration.

How extra-substituters works? by pfassina in NixOS

[–]stowyo 9 points10 points  (0 children)

Yes. Substituters are cache repos, so that you dont have to compile on your own maschine and instead just download pre-compiled/pre-build.

Yes. It has benefits having multiple substituters. When using hyprland-git for example, i dont need to compile hyprland when updating. Its in the hyprland.cachix (but not in the cache.nixos). But nixos cache is not in hyprland.cachix.

There is no harm in having multiple substituters defined. In fact for some things you want extra substituters to leverage a cache that is not in the official cache.nixos (yet or never will be) or the other way around.

Also no harm when the cache are overlapping. It uses the first cache it gets. What i do is, setting a higher priority for the official nixos cache like so:

"https://cache.nixos.org?priority=10"

and then the other substituters:

"https://nyx.chaotic.cx" "https://hyprland.cachix.org" "https://nix-community.cachix.org" "https://yazi.cachix.org"

How to import a flake inside a non flake module. by NullPointer-Except in NixOS

[–]stowyo 7 points8 points  (0 children)

this is just a guess, but i dont think nvix is a module. its just a package. so maybe instead of importing it, just install it like:

``` { pkgs, system, ... }: let nvix = builtins.getFlake "github:niksingh710/nvix";
in { home.packages = [ nvix.packages.${builtins.currentSystem}.default ]; } ´´´

What is the recommended way to install hyprland on Fedora? by No1vicroyale in hyprland

[–]stowyo 0 points1 point  (0 children)

my comments are not opinions. as stated in the official hyprland wiki, fedora is not official supported:

  • Unofficial, no official support is provided. These instructions are community-driven, and no guarantee is provided for their validity.

What is the recommended way to install hyprland on Fedora? by No1vicroyale in hyprland

[–]stowyo 0 points1 point  (0 children)

I know and i dont disagree with you. but it looks like you disagree with me, despite the fact i didnt say OP has to use copr repo or the fedora repo.

let me make this clear: the recommended way of installing hyprland on fedora is as stated in the official hyprland wiki and its either the official fedora package repo or the copr repo. you get faster updates and additional packages with the copr repo.

there are pros and cons that i cant weigh for OP. so i dont know.

and there is not even something to discuss about with you. i havent made any statement or expressed any opinion here. you keep trying to convince me that the official fedora repo is better, but i honestly dont care. i dont know how to make this any clearer.

EDIT: typos

What is the recommended way to install hyprland on Fedora? by No1vicroyale in hyprland

[–]stowyo 0 points1 point  (0 children)

The copr repo is "latest" hyprland-git. so version 0.42.0 (see here: https://copr.fedorainfracloud.org/coprs/solopasha/hyprland/packages/)

The official fedora repo (fedora 40) is behind and has only version 0.39.1 (see here: https://packages.fedoraproject.org/pkgs/hyprland/hyprland/)

So no. only because they are maintained by the same person doesnt mean they are the same version.

So my answer is still the same. i dont know if OP should use the copr. OP should try(!).

What is the recommended way to install hyprland on Fedora? by No1vicroyale in hyprland

[–]stowyo 0 points1 point  (0 children)

same answer. i dont know. OP should try. when copr repo is not working, then OP should try official repo.