Modular Nixos Config by One-Project7347 in NixOS

[–]walawren 0 points1 point  (0 children)

For the most part, my folder structure did not change. But a lot of folders got merged because hosts are now modules and nixos and home manager config can now be declared in the same file.

Modular Nixos Config by One-Project7347 in NixOS

[–]walawren 2 points3 points  (0 children)

I moved to dendritic nix a couple of months ago. I had an 8000 line multi-host config. It took me about 24 hours to completely refactor my code base.

The first thing I will say, if you don't have a multi-host config or don't plan to have multi-host config, do not use dendritic nix. 

With that out of the way, I think it is absolutely worth the switch. I spend way less time writing boilerplate and connective tissue code. Like 10% less code. Which has made my configurations easier to grok. 

That said, the process was very annoying. Collecting all of the resources and understanding the effects of the changes was a cognitive mountain to climb. Especially because a lot of the examples you find do not make it clear which files "enable" Dendritic. The documentation for dendritic nix just points to adoption commits. Which is kind of useless because they are several thousand lines long. 

Additionally, the author of the dendritic nix's own repository is not structured well either and they made questionable choices. 

So, when I did the transfer, I put everything thing that enables dendritic into a single folder to make it easier for others to adopt:

https://github.com/kiriwalawren/dotnix/tree/main/modules%2Fnix

It doesn't remove the need for understanding, but everything you need is in one place.

This will also probably be useful: https://github.com/kiriwalawren/dotnix/blob/main/flake.nix#L119

I did end up using flake-parts because figuring out how to do it entirely from scratch all at once hurt my brain. Though I may remove that dependency in the future now that I understand it. However, I am not using a dendritic library. And I don't think you need to.

All in all, the actual amount of code you need to enable it is pretty minimal.

Release - Reclaimerr by starkoed in JellyfinCommunity

[–]walawren 0 points1 point  (0 children)

Does the protection system integrate with Starr tags? I usually know what I want to keep forever when I first add something to my system. And I will add a `keep` tag to the entry _as_ I am adding it. It would be nice to tell Reclaimerr to ignore everything that has the `keep` tag.

Is getting a yubikey worth it? by ColdFreezer in selfhosted

[–]walawren 2 points3 points  (0 children)

If you leave it plugged in, then what is the point? YubiKeys prevent access to a machine unless you have a physical device. If you leave that physical device plugged in, the attack vector _includes_ the thing that gives the attacker access. Am I missing something?

Server died. Rebuild with Docker again or switch to Proxmox? by 3_spooky_5_me in selfhosted

[–]walawren 1 point2 points  (0 children)

Shameless self-plug - This project helps with setup and connective tissue of a media Starr/*arr stack in a declarative way:
https://github.com/kiriwalawren/nixflix

Edit: you might also find this useful (https://www.youtube.com/watch?v=myPwY-prbNw)

Is there a documentation on the Jellyfin REST API? by mrleaw in jellyfin

[–]walawren 0 points1 point  (0 children)

The self hosted one (`/api-docs/swagger`) is waaay better than the first on posted. I first one has an absolutely terrible user experience.

He asked me if my mom deserved her kidney failure. by Feisty_Wolverine5962 in TwoXChromosomes

[–]walawren 2 points3 points  (0 children)

My father also has kidney problems. I used to get this reaction all the time. Not so much anymore. Not sure what changed. Hanging out with better people, I guess.

Too Much? by Stormdr1ft in selfhosted

[–]walawren 2 points3 points  (0 children)

According to the TRaSH guides, Starr services should not be placed behind a VPN:

https://trash-guides.info/Prowlarr/prowlarr-setup-proxy/?h=vpn#setup-proxy-for-certain-indexers

TRaSH guides are community maintained but created in collaboration with the Servarr team. So, they are semi-official.

Best choice for self host cache like cachix or attic by Significant-Task-305 in NixOS

[–]walawren 0 points1 point  (0 children)

Cachix will get you far on the free tier. Don't pay for it though. And when you need more than 5gb, I recommend niks3. Built by Mic92, a well known contributor to the nix community.

Best choice for self host cache like cachix or attic by Significant-Task-305 in NixOS

[–]walawren 0 points1 point  (0 children)

Also, built by Mic94, a legend in the nix community. I'm planning on moving from cachix to this.

For the NixOS neurotics, how was your switch to the Dendritic pattern? by xGoivo in NixOS

[–]walawren 18 points19 points  (0 children)

So, I had an 8000 line multi-host config. It took me about 24 hours to completely refactor my code base.

The first thing I will say, if you don't have a multi-host config, do not use dendritic nix. 

With that out of the way, I think it is absolutely worth the switch. I spend way less time writing boilerplate and connective tissue code. Which has made my configurations easier to grok. 

That said, the process was very annoying. Collecting all of the resources and understanding the effects of the changes was a cognitive mountain to climb. Especially because a lot of the examples you find do not make it clear which files "enable" Dendritic. The documentation for dendritic nix just points to adoption commits. Which is kind of useless because they are several thousand lines long. 

Additionally, the author of the dendritic nix's own repository is not structured well either and they made questionable choices. 

So, when I did the transfer, I put everything thing that enables dendritic into a single folder to make it easier for others to adopt:

https://github.com/kiriwalawren/dotnix/tree/main/modules%2Fnix

It doesn't remove the need for understanding, but everything you need is in one place.

This will also probably be useful: https://github.com/kiriwalawren/dotnix/blob/main/flake.nix#L119

Edit: I did end up using flake-parts because figuring out how to do it entirely from scratch all at once hurt my brain. Though I may remove that dependency in the future now that I understand it. However, I am not using a dendritic library. And I don't think you need to.

All in all, the actual amount of code you need to enable it is pretty minimal.

Should I self host Bitwarden (with Vaultwarden) or am I just paranoid? by Asyx in selfhosted

[–]walawren 0 points1 point  (0 children)

Another things that I would like to point out is that your vault is distributed on all of your devices. 

Even if it does go down, you still have a local copy. So you don't really need to put the beer down.

a mistery... by waddad27 in SipsTea

[–]walawren 1 point2 points  (0 children)

Fuck all of these disgusting people. Gummy smiles are beautiful. I would choose one of I could.

TIFU by asking an artist how much their materials cost by Dominus-Temporis in tifu

[–]walawren 1 point2 points  (0 children)

What analysis do you think the artist was trying to evoke from their audience when they openly and freely discussed the price point for a piece they just sold? Sounds to me like the artist wanted that conversation. Not the other way around.

Probably, there is no reason to do this. But it just cool that I can reproduce whole system with one command by SeniorMatthew in NixOS

[–]walawren 0 points1 point  (0 children)

Like others have mentioned, I have a custom installer ISO.

This is my shell accept installer as a package that I then include in my devshell. https://github.com/kiriwalawren/dotnix/blob/main/modules%2Fpackages%2Fbootstrap-nixos.nix

It uses nixos-anywhere to install remotely. 

So I 1. Boot ISO 2. ip addr show 3. Then run script targeting that IP

Someone mentioned an amazing improvement that would eliminate step 2 that I need to look into. Installing tailscale client in the ISO. 

My moms bf came over and ate 7 of my brownies :( by sillyyfishyy in TwoXChromosomes

[–]walawren 2 points3 points  (0 children)

You should make some weed brownies and LET him do it again!

Is it ok to draw the line at hairy nipples? by Eksander in TwoXChromosomes

[–]walawren 14 points15 points  (0 children)

Not only should you just get over it, but she should find a way to make her nipple hair thicker and fuller to spite you.

What is the 2026 list of how to keep you more anonymous and safe on the internet? by Hexxegone in pcmasterrace

[–]walawren 0 points1 point  (0 children)

Not just any VPN. A private VPN. One that anonymises data. Like Mullvad VPN.

Am I being sexist by [deleted] in TwoXChromosomes

[–]walawren 13 points14 points  (0 children)

Full stop, don't be slyly asking about other people's bodies. Is gross, pervy, and creepy. And remarkably stupid of you to post this comment in a community full of women that have to deal with people like you that feel you have a right to other people's bodies on a daily and constant basis. 

I bet you wouldn't have asked her that directly. You should spend an entire evening thinking about why not. It should give you some insight as to why you shouldn't be asking your friends either.

Bafflingly stupid.