doostee

joined 1 year ago
[–] doostee 1 points 5 months ago* (last edited 5 months ago)

Poetry2nix is your best bet imo, and read through this doc carefully https://github.com/nix-community/poetry2nix/blob/master/docs/edgecases.md. The option with pypkgs-build-requirements was how i managed to build a mid-sized django project successfully. For IDE i have a devshell set up that pulls in a configured nvim with a python LSP, formatter, debugger,... Works fine for small scripts but i would just use Pycharm in your devshell if you're on a graphical machine and then also use nix to pull in python with packages. If you use venv i think you will need to also use https://github.com/Mic92/nix-ld

[–] doostee 1 points 5 months ago

Oh my god this is amazing, will definitely give it a try!

[–] doostee 4 points 10 months ago (1 children)

This seems like it directly uses nftables rules, but ive seen a couple of aspiring Nix router repos that already offer nix module configuration like https://github.com/chayleaf/nixos-router that dont require you to be a networking expert, however it seems to be a long way off from a featureful router system. If you are after a declaratively configured router i would just go with VyOS.

12
submitted 1 year ago* (last edited 1 year ago) by doostee to c/programming
 

From a technical and legal standpoint, ignoring ethics and dignity, is there anything preventing us from scripting a scraper that recreates reddit posts in a lemmy instance? Like maybe top 50 posts of the top 20 subreddits, without comments. I think it would help convince people to join, since the major argument for sticking with reddit is that it has more content. Thoughts?

[–] doostee 4 points 1 year ago* (last edited 1 year ago)

Im also on Ublue right now, used the 'make your own' guide to craft a Hyprland flavoured system. Which basically just means creating a github repo where you put the desired packages in a yaml file then github builds the immutable image for you (on top of the work ublue devs do ofc). Would highly recommend Ublue.

[–] doostee 8 points 1 year ago (5 children)

With great power comes a steep learning curve.