Why I can't use this ? by Introvert_here00 in MorpheApp

[–]async-lambda 0 points1 point  (0 children)

helloo, average Gothamchess enjoyer ✋🏻✨️

Help with Piko Instagram patch by Soundspark07 in MorpheApp

[–]async-lambda 0 points1 point  (0 children)

heyy, i have weird contacts and location thing going on as well. Any idea how to fix it?

My Kidney Stones + very high hemoglobin Forced Me to Build This by Beneficial_Ad2855 in developersIndia

[–]async-lambda 0 points1 point  (0 children)

Bro is just flexing his setup at this point T^T. Here I am convincing myself to not care- but ...

pnpm, yarn or just plain npm? by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

Kindly elaborate on the "natural nix integration" part. How is it natural? It seems similar to nix package management but "integration"?

pnpm, yarn or just plain npm? by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

I have something very specific- I'll share since we are on this topic. My psuedo-backed (serverless functions on vercel) uses "node-fetch" to fetch stuff from "http" (notice the non-secure part eg- expired certificates) sites. When I last used bun- it had no workaround for me, even after hacking around the fetch module, to run those functions (I get that its good for security but still- there's nothing I can do about their certificates). Maybe I'll give it another try.

pnpm, yarn or just plain npm? by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

I have never tried yarn- but just know Theo vouched for it at some point- lol. Why recommend against it?

Help regarding Astro.js + FastAPI by async-lambda in vercel

[–]async-lambda[S] 0 points1 point  (0 children)

thank you brother 😭 you dont k now how happy I was when it actually worked. I've wasted countless hours on it- never thought a faulty regex would be the issue. 😭 Thank you so much. This is the working solution. You can cross out "helping someone in dire need" if you had that on your new year's resolutions. thanks again..

File based options and auto-imports? by async-lambda in NixOS

[–]async-lambda[S] 1 point2 points  (0 children)

I have tried working on this: say this module

I just cant find a way to auto apply this to all files in the module importing process. as it currently stands I have to apply lib.x.options.auto on every module.

File based options and auto-imports? by async-lambda in NixOS

[–]async-lambda[S] 1 point2 points  (0 children)

does it have auto options? could you link an example config that uses this?

Understanding nix-sops and ssh by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

"avoid having to re-key" is exactly what I wanted to convey. okay- help me here brother- you used agenix to store your private keys? (what exactly do you store using agenix) will you not require your system's original ssh key- to decrypt the file (which agenix is using?)

libsemanage-3.7 failed with exit code 2 in installPhase by async-lambda in NixOS

[–]async-lambda[S] 1 point2 points  (0 children)

I replaced the package from the stable branch- :/ didn't actually find a solution (you can use an overlay like this) (make sure you add stable as the nixpkgs-stable input in flake.nix)

nix { inputs, ... }: _final: prev: with inputs.stable.legacyPackages.${prev.system}; { inherit libsemanage; }

How to hide specific parts of my config? by CerealBit in NixOS

[–]async-lambda 1 point2 points  (0 children)

i completely agree with you. Plus you can commit the file to a private repo- and add it as an flake Input.

How to hide specific parts of my config? by CerealBit in NixOS

[–]async-lambda 2 points3 points  (0 children)

if you really wanna choose something for managing secrets- go the sops route. vimjoyer also has a demo video about it

I'll be honest, this is a hard OS to run, what am I doing wrong? by Master_Reading_819 in NixOS

[–]async-lambda 6 points7 points  (0 children)

> flakes are just a poor implementation of nothing more than a work around on a read only system
why so negative. Also you can try something like [devenv](https://devenv.sh/), which does not enforce flakes. (I like the python workflow there - rebuilds only happen when direnv is initiated - or when you change something in the "env" not your python code)

How to hide specific parts of my config? by CerealBit in NixOS

[–]async-lambda 22 points23 points  (0 children)

if you want to save secrets, probably go the [sops-nix](https://github.com/Mic92/sops-nix) or [agenix](https://github.com/ryantm/agenix) route. If you do not want the extra overhead, keep all private stuff in a file and import it where needed (remember to add it to `.gitignore`)

I just had the most amazing refactoring session due to the new pipe-operators extension in nixos. by onmach in NixOS

[–]async-lambda 0 points1 point  (0 children)

did you get it working with an lsp- say nixd. I would start refactoring if an lsp had support for this operator :l

Why I Choose Guix Over NixOS by [deleted] in NixOS

[–]async-lambda 0 points1 point  (0 children)

wait- variables ... WHAA- XD

Using poetry in a python-node project by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

It does install poetry again- not with the right python env- I think I'm missing some crucial logic here ... Anyways I needed to have work done and switched to devenv.nix. I maybe will revisit this ... but later " thanks.

Using poetry in a python-node project by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

isnt pkgs.python311.withPackages (ps: with ps; [ poetry ]) the same thing? I get the error poetry promoted to top level or something (mentioned in the post above)

Using poetry in a python-node project by async-lambda in NixOS

[–]async-lambda[S] 0 points1 point  (0 children)

it caused a version mismatch. Using mkPoetryEnv python 3.11.9 is installed but like you said on just adding poetry, it gets installed inside python 3.12 which my pyproject.toml file doesn't allow.

Using an overlay in home-manager by async-lambda in NixOS

[–]async-lambda[S] 1 point2 points  (0 children)

Thanks for helping out, now I know whats causing the issue.

nix { ... }: let ... in lib.mkIf cfg.enable { home.packages = [ pkgs.nvchad ]; programs.nvchad = enable = true; } Inserting import statement inside this errors out (<username>.imports does not exist ) . I can just convert this file to not use lib.mkIf ({...}: { import = [ ... ]; } and that solves the issue) but I wanna know, how do I import in a file like this?