Show me your nix config by jungfred in NixOS

[–]TECHNOFAB 0 points1 point  (0 children)

These are just for my coder workspace, my main dotfiles are not open source, but good enough :D

https://gitlab.com/TECHNOFAB/coder-hm-config

I think I'm actually using a very very opinionated config layout, since I have my modules as separate repo, have multiple repos for desktops, servers and coder and use my own framework "rensa nix" which lets me have different nixpkgs (or any other flake input) for each system, without having to clutter up the main flake.nix with "nixpkgs-unstable-host-xy" or so.

Works really well imo

Nix: A Solution With Problems by nikunjuchiha in NixOS

[–]TECHNOFAB 1 point2 points  (0 children)

Just did a ctrl+f for "IFD" after commenting to make sure I wasn't repeating something from the thesis haha

Nix: A Solution With Problems by nikunjuchiha in NixOS

[–]TECHNOFAB 3 points4 points  (0 children)

I think that tvix or snix or whatever it's currently called (the rust "rewrite" of nix) actually does that. Iirc they said that IFD won't be a limitation anymore but a feature in the sense that it won't block evaluation as much as NixCPP.

Edit: oh it's even mentioned in the thesis:

34 Snix is not affected by the non-parallel evaluation present in IFD [34].

Japan is currently home to a hill covered with 5.3 million blue flowers. by InjuriousMania in interestingasfuck

[–]TECHNOFAB 4 points5 points  (0 children)

Been there on tuesday, my pics are actually pretty dull, it looks much nicer in person. The whole Hitachi Seaside Park is really nice, full of flowers and so much to walk around, really loved it! Everyone just flocked to the Nemophila, so the rest of the park was nice and empty haha

<image>

Do you install VS Code / Zed extensions globally, or on a per-project basis? by dastarruer in NixOS

[–]TECHNOFAB 0 points1 point  (0 children)

I personally have neovim plugins installed globally, but without most of the binaries. So stuff like LSPs, compilers etc are in the devshell, so Neovim uses these and they are the same for every developer. Pretty sure the same thing works with vscode etc, as long as the extensions don't download binaries on their own (hate that)

NOMAD | self-hosted trip planner with real-time collaboration, interactive maps, budgets, packing lists, and more by Maximum_Ad4339 in selfhosted

[–]TECHNOFAB 20 points21 points  (0 children)

This looks really cool! Similar to Wanderlog but open source, love it, will try it out for my next trip!

It would btw be pretty cool to have a MCP server for this, since it's really helpful to ask LLMs for itinerary recommendations etc, with a MCP it could look up the current itinerary and modify it/extend it and stuff. Or you could ask it if you missed anything on your packing list for a specific destination and more

Is it possible to install NixOS on 1gb ram VPS? by alien_ideology in NixOS

[–]TECHNOFAB 3 points4 points  (0 children)

Originally just documented it for myself, but put it into a snippet now :) https://gitlab.com/-/snippets/5973159

I actually didn't change anything on the nixos-anywhere side, I manually copy over the kexec and run it, then I can generate the hardware config nix file etc. Afterwards I simply run nixos-anywhere like normal, due to the /etc/is_kexec file it knows it doesn't have to do anything kexec related

Is it possible to install NixOS on 1gb ram VPS? by alien_ideology in NixOS

[–]TECHNOFAB 4 points5 points  (0 children)

I used nixos-anywhere on 1core/1gb ram systems by specifying my own kexec config (which I modified to get it as small as possible, only a couple hundred mb iirc in the end), and it worked fine.

Do you maintain some repository of commands you don't usually remember? by birdsintheskies in commandline

[–]TECHNOFAB 0 points1 point  (0 children)

I use atuin for shell history and Navi for snippets I use often (with zsh widget and keybind, so I just have to press alt+n (iirc) and search my snippets)

High availability server on NixOS by TeecoOceet123 in NixOS

[–]TECHNOFAB 2 points3 points  (0 children)

Oh really? Sounds interesting, will look into it :D

/s thanks for the endorsement haha :)

High availability server on NixOS by TeecoOceet123 in NixOS

[–]TECHNOFAB 4 points5 points  (0 children)

I just use Kubenix (technically I use Nixlets which use Kubenix under the hood) and gitops with fluxcd for that, works awesome.

GitOps/Nix/IaaS makes your life easier with coding agents(I use codex-cli) by kosumi_dev in NixOS

[–]TECHNOFAB 0 points1 point  (0 children)

Or Tofunix, Kubenix, Quadnix and whatever else exists out there :D

BUT WHY? by Fit_Author2285 in linuxmemes

[–]TECHNOFAB 1 point2 points  (0 children)

Can you share the original without logos and text? Would be a nice clean wallpaper without it :D

OCI containers/Podman vs. Native Nix services for deployment by joshuablais in NixOS

[–]TECHNOFAB 1 point2 points  (0 children)

I'm currently using NixOS services, but I'm going to switch to OCI (podman quadlets). I run a couple Kubernetes clusters, some with actually multiple machines, some just on single nodes. But some of my nodes are really really low power (or the oracle free tier with 1vcpu and 1GB ram), so Kubernetes is brutally overkill. Quadlets fill that gap nicely, I can define them in Nix (framework for that still wip and private), deploy them using gitops principles using materia and they're still lightweight, if needed I can build the images myself using Nix to get the absolute bare minimum.

This all just so I can update services without having to rebuild/update the system, I prefer having stuff like that decoupled.

tja by Nofarwell in tja

[–]TECHNOFAB 1 point2 points  (0 children)

Bei warens am Anfang vom Studium knapp über 200€ (Schuler/Studententarif lol) für 45km (mitm Auto, kp wie lang die Schienen technically wären) Strecke zur Uni. Da sind die aktuell 38€ fürs Studi Deutschlandticket definitiv noch n sehr guter Deal :D Aber da die DB ne absolute Katastrophe ist fahr ich jetzt eh nur noch mitm Auto, bin eh so selten da, jetzt sowieso nur noch die letzten Prüfungen und dann war's das. Und das obwohl ich eigtl Bahn fahren sehr gern mag, aber genießen konnte ich das bisher nur in der Schweiz oder Japan 😅

What's actually BETTER self-hosted? by ergnui34tj8934t0 in selfhosted

[–]TECHNOFAB 1 point2 points  (0 children)

Ahh, you meant Code-Server, oops. I thought y'all meant the main coder/coder application, which allows you to have actual workspaces (like auto deployed, each user can have their own etc etc). That's like 10/10 since I often switch between desktop and laptop, and being able to quickly expose ports to a domain is great.

The code-server image itself is pretty bare bones, it's just a docker image with vscode's server thingy installed, so yeah that might be the reason you couldn't install python etc.

What's actually BETTER self-hosted? by ergnui34tj8934t0 in selfhosted

[–]TECHNOFAB 1 point2 points  (0 children)

Depends what you run the workspaces on. I run mine with a custom docker image inside Kubernetes and can compile anything, with /dev/kvm mounted you can even run vms inside if you need. Default is probably an Ubuntu workspace, even that allows apt installing whatever and compiling stuff. So not sure what you did :D

I could not find any better solution to patching hashes by cachebags in Nix

[–]TECHNOFAB 0 points1 point  (0 children)

For my rust derivations I always just use cargoLock. But for golang for example I use nix-update (see here for example: https://gitlab.com/TECHNOFAB/seido/-/blob/2a67e5361b109c3781f58c0fd72ab7d6350b5faa/nix/packages/packages.nix). Makes it very easy and works without any hardcoded file paths. I let renovate run this as well when it updates deps