179
you are viewing a single comment's thread
view the rest of the comments
[-] renzev@lemmy.world 6 points 2 days ago

Void on laptop, alpine on homeserver. Yep, checks out.

Love how the indian guy sitting meme perfectly sums up how I feel about alpine, nixos, and freebsd, even though those are completely different projects with different directions and goals. "It's boring and it just works".

[-] tux7350@lemmy.world 6 points 2 days ago

Indian guy sitting? That's Pablo Escobar!

[-] renzev@lemmy.world 2 points 2 days ago
[-] tux7350@lemmy.world 1 points 2 days ago

Lol it's from Narcos. Great show if you haven't seen it.

[-] Laser@feddit.org 4 points 2 days ago

NixOS "is boring and iust works" until you want to do something fancy a module author didn't anticipate and suddenly you find yourself defining functions that use genAttrs on some lists imported from JSON files

[-] renzev@lemmy.world 2 points 2 days ago

This (and systemd bugs) is the main reason I moved away from nixos on my homeserver. Nowadays if I want declarative configuration, I just cram everything into docker containers and write a huge docker-compose.yml for everything that I want to run. Would still recommend nixos for things that don't require a lot of tweaking. Like if I had to set up a simple website for a small business or something. I love how you can set up SSL certificates for nginx with autorenewal just by switching it on in configuration.nix.

[-] Laser@feddit.org 3 points 2 days ago

I haven't encountered systemd bugs in NixOS yet. Doesn't mean they don't exist - but I can't confirm the issue.

I run everything on NixOS nowadays and I do think that all of this makes sense, whether the implementation is the best I can't judge.

Just wanted to make sure my statement wasn't a criticism on NixOS, the maintainers do a great job. It's rather taking a jab at the "boring" statement.

Nowadays if I want declarative configuration, I just cram everything into docker containers and write a huge docker-compose.yml for everything that I want to run.

Docker compose is imperative though ;) (if that actually matters is up for debate) - fun fact nix allows you to build containers very easily.

I love how you can set up SSL certificates for nginx with autorenewal just by switching it on in configuration.nix.

How well this all goes together is really one of the strongest points of nix and NixOS. Though just for manageability, I personally wouldn't put this into configuration.nix, but rather into a file dedicated to the respective service.

[-] renzev@lemmy.world 1 points 2 days ago

Maybe I'm confused, but from what I understand, "declarative" means you tell the computer what you want the final thing to look like, and "imperative" means you tell the computer what steps to take. So Dockerfile would be imperative because it's a set of commands that are executed in-order to create the image. Meanwhile docker-compose.yml is declarative because you say which containers are used with what options and how they're interconnected. IDK tho, as far as I understand the definitions aren't that rigid

[-] Laser@feddit.org 2 points 2 days ago

No you're right, I mixed it up I guess.

this post was submitted on 10 Oct 2024
179 points (96.4% liked)

Lemmy Shitpost

26436 readers
2778 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS