There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

not_woody_shaw , to showerthoughts in I wonder how many US babies have been named Donald in the last few years and may live to regret it.

Why though? Glover is cool.

OhStopYellingAtMe ,
@OhStopYellingAtMe@lemmy.world avatar

He’s not too happy that his parents named him “Don Glover” (dong lover) though.

ivanafterall ,
@ivanafterall@lemmy.world avatar

One man’s dong lover is another man’s Don G. Lover…

apotheotic , to asklemmy in Are there any workouts that men shouldn't do?

You should do workouts that align with your workout goals. If you’re a man and you wanna do workouts that are gonna give you a dump truck ass and juicy thighs then fucking go for it. If you’re a woman and you wanna do workouts that are gonna give you a body like Schwarzenegger, fucking go for it! If you wanna do workouts that are gonna do very little for your physical appearance but leave you fitter and healthier, do those!

Your workout plans should align with your workout goals, and your workout goals shouldn’t be dictated by what someone else thinks isn’t appropriate for your gender.

gpstarman OP ,

Thank you.

apotheotic ,

You are absolutely welcome and best of luck with your workouts!

_Lory98_ , to gaming in Weekly “What are you playing” Thread || Week of July 28th

hitman 3

Forgot that came out, I should play it. Had a lot of fun with 1 and 2.

This week I played around 12 hours of Bravely Default 2, but dropped it because the boss mechanics (counters) feel anti-fun and like they want a specific party composition, and it feels a bit too grindy for my taste.

Continuing the Trails series with 3rd: it seems interesting, but I’m not sure I like how it’s structured, the gameplay feels too disconnected from the story.

CameronDev , to linux in I wonder if its possible to pass a already existing windows install into qemu (fedora 40 kde)

Is your qemu using bios or uefi? You cant switch between them without something like that happening.

Mwa OP ,
@Mwa@thelemmy.club avatar

Uefi

CameronDev ,

www.reddit.com/r/AlmaLinux/comments/…/jz6st75/?ut…

If anyone comes across this, you can just press ESC at the Tianocore/bios startup and just disable secure boot!

?? Worth a try? I’m out of ideas though

Mwa OP ,
@Mwa@thelemmy.club avatar

did not help same error but the text looks more high quality for some reason

CameronDev ,

Well that’s something :D I’m out of ideas, good luck. Might just be easier to reinstall.

Mwa OP ,
@Mwa@thelemmy.club avatar

Alr

breadsmasher ,
@breadsmasher@lemmy.world avatar

“The same error but in HD” is my new favourite “well it did something but I don’t know why

Mwa OP ,
@Mwa@thelemmy.club avatar

lol i didnt know how to word it out

breadsmasher ,
@breadsmasher@lemmy.world avatar

Oh definitely! You explained it perfectly well, I understood

Mwa OP ,
@Mwa@thelemmy.club avatar

oh

breadsmasher ,
@breadsmasher@lemmy.world avatar

:( I was making a light hearted joke, nothing bad?

Mwa OP ,
@Mwa@thelemmy.club avatar

i was saying “oh” cause i saw your context and i know your joking now

breadsmasher ,
@breadsmasher@lemmy.world avatar

☺️

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

I’m glad this misunderstanding about an error in HD came to a resolution

infuziSporg , to asklemmy in Are there any workouts that men shouldn't do?
@infuziSporg@hexbear.net avatar

Never had that problem, maybe because I have the thigh-gap body type.

RandomVideos , to asklemmy in The specific thing you spend the most time doing instead of the actual job you're being paid to do is your new profession. What's your new job title?

Sleeping

tetris11 , to linux in More Linux libertarian shitposting 🦅🇺🇸🦅
@tetris11@lemmy.ml avatar

That exposed brick is either going to give him inhalation problems from the dust and grit, or if he added a PVA layer, then the walls will begin to run in a hot summer

makingStuffForFun , to asklemmy in Are there any workouts that men shouldn't do?
@makingStuffForFun@lemmy.ml avatar

Yeah, listen, I was doing my own exercises and I was everyday watching my wife doing her exercises, and then I realised “holly hell she is exercising way harder than I am”, and working muscle groups that I really wanted to work so I gave up my routine and joined hers.

IvanOverdrive , to asklemmy in TV nerds: what should I watch

Scavengers Reign. If you like The Expanse, you might be into sci-fi animated with a seriously weird style. And it’s one season with the story tied up in a bow at the end.

sunbeam60 ,

I LOVED SR. It’s completely unique for animation, I felt, and every scene was like reading a Belgian comic book from the 60s.

BarbecueCowboy ,

I love Scavenger’s Reign, and don’t remember any of the characters names or the basic story at all.

I feel like it’s just a long world building art project.

Petter1 , to piracy in How big is YOUR collection?

42TiB (I managed to get about 5TiB back by defining remux to be lower quality as “normal” releases in the arr* apps 😎) Now I can finally add more media

SexualPolytope , to asklemmy in The specific thing you spend the most time doing instead of the actual job you're being paid to do is your new profession. What's your new job title?
@SexualPolytope@lemmy.sdf.org avatar

Sysadmin cosplayer or Barista.

JadenSmith , to nostupidquestions in Why are weather apps so bad at telling you the current weather?

I went to Amsterdam over the weekend. The weather apps said it was gonna rain, did it fuck. I brought my puffer jacket and was almost dying from the heat until I got to the hotel room. Never had to wear it during the trip.

velox_vulnus , to asklemmy in [Solved] Help remembering a song.

Is it “I’ll Kill Her” by Soko?

So, of course, you were supposed to call me tonight

You were supposed to call me tonight

We would have gone to the cinema

And, after, to the restaurant, the one you like in your street

hperrin OP ,

Yes! That’s the one! Oh my god, thank you!

QuizzaciousOtter , to linuxmemes in Have you tried NixOS?

I mean, it’s like a fucking drug. The learning curve is steep AF but past some point, when it starts making sense, it’s just incredible. I’m currently moving my whole setup to NixOS and I’m in love.

Laser ,

Even when using in a basic way, I think it has one very tangible advantage: the fact that you can “compartmentalize” different aspects of your configuration.

Let’s say I set up a specific web service that I want to put behind a reverse proxy, and it uses a specific folder that doesn’t exist yet, like Navidrome which is a web-based audio player. It requires a set of adjustments of different system parts. My nix file for it looks like this:


<span style="color:#323232;">{ config, ... }:
</span><span style="color:#323232;">
</span><span style="color:#323232;">let
</span><span style="color:#323232;">  domain = "music." + toString config.networking.domain;
</span><span style="color:#323232;">in
</span><span style="color:#323232;">  {
</span><span style="color:#323232;">    services.navidrome = {
</span><span style="color:#323232;">      enable = true;
</span><span style="color:#323232;">      settings = {
</span><span style="color:#323232;">        Address = "127.0.0.1";
</span><span style="color:#323232;">        Port = 4533;
</span><span style="color:#323232;">        MusicFolder = "/srv/music";
</span><span style="color:#323232;">        BaseUrl = "https://" + domain;
</span><span style="color:#323232;">        EnableSharing = true;
</span><span style="color:#323232;">        Prometheus.Enabled = true;
</span><span style="color:#323232;">        LogLevel = "debug";
</span><span style="color:#323232;">        ReverseProxyWhitelist = "127.0.0.1/32";
</span><span style="color:#323232;">      };
</span><span style="color:#323232;">    };
</span><span style="color:#323232;">
</span><span style="color:#323232;">    services.nginx = {
</span><span style="color:#323232;">      upstreams = {
</span><span style="color:#323232;">        navidrome = {
</span><span style="color:#323232;">          servers = {
</span><span style="color:#323232;">            "127.0.0.1:${toString config.services.navidrome.settings.Port}" = {};
</span><span style="color:#323232;">          };
</span><span style="color:#323232;">        };
</span><span style="color:#323232;">      };
</span><span style="color:#323232;">    };
</span><span style="color:#323232;">
</span><span style="color:#323232;">    services.nginx.virtualHosts."${domain}" = {
</span><span style="color:#323232;">      onlySSL = true;
</span><span style="color:#323232;">      useACMEHost = config.networking.domain;
</span><span style="color:#323232;">      extraConfig = ''
</span><span style="color:#323232;">        include ${./authelia/server.conf};
</span><span style="color:#323232;">      '';
</span><span style="color:#323232;">      locations."/" = {
</span><span style="color:#323232;">        proxyPass = "http://navidrome";
</span><span style="color:#323232;">        recommendedProxySettings = false;
</span><span style="color:#323232;">        extraConfig = ''
</span><span style="color:#323232;">          include ${./authelia/proxy.conf};
</span><span style="color:#323232;">          include ${./authelia/location.conf};
</span><span style="color:#323232;">        '';
</span><span style="color:#323232;">      };
</span><span style="color:#323232;">    };
</span><span style="color:#323232;">
</span><span style="color:#323232;">    systemd.tmpfiles.settings."navidrome-music-dir"."${toString config.services.navidrome.settings.MusicFolder}" = {
</span><span style="color:#323232;">      d = {
</span><span style="color:#323232;">        user = "laser";
</span><span style="color:#323232;">        mode = "0755";
</span><span style="color:#323232;">      };
</span><span style="color:#323232;">    };
</span><span style="color:#323232;">    systemd.services.navidrome.serviceConfig.BindReadOnlyPaths = ["/run/systemd/resolve/stub-resolv.conf"];
</span><span style="color:#323232;">      
</span><span style="color:#323232;">    security.acme.certs."${config.networking.domain}".extraDomainNames = [ "${domain}" ];
</span><span style="color:#323232;">  }
</span>

All settings related to the service are contained in a single file. Don’t want it anymore? Comment it out from my main configuration (or whereever it’s imported from) and most traces of it are gone, the exception being the folder that was created using systemd.tmpfiles. No manually deleting the link from sites-available or editing the list of domains for my certificate. The next generation will look like the service never existed.

And in my configuration, at least the port could be changed and everything would still work – I guess there is room for improvement, but this does what I want pretty well.

tux7350 ,

Hey this is a great web server example! Instead of commenting it out to enable or disable you can actually turn it into a full module. Check out this example of a nix module. Basically, you can take your code you pasted and put it under the config set. Then create an option to enable that set of code. Now you can always have this nix file imported, but enable the option only when you need it with another declaration. Really, that’s how all the declarations work you’re just getting the nix files from github and nixpkgs.

Laser ,

Thanks for the answer; I do have at least one module in my config, but usually, I don’t enable or disable services like that, it was more of an example of how the configuration is split up and what the advantage of that is. In the end, if the only option is to enable the module, you’re not gaining that much if you need to import and enable it instead of just importing the configuration straight is my opinion.

sunstoned ,

Love the example here!

I’m still learning about available references (ex config.services.navidrome.settings.Port). What resources did you find to be the best for learning that kind of thing?

I’ll accept RTFM if that’s applicable :)

tux7350 ,

Use nix repl! That stands for Read Eval Print Loop. You can evaluate a nix expression and see all the attributes inside. For example, on a non-flake system, use :l <nixpkgs/nixos> inside the repl to load the current system. Then you can hit the tab key to show whats inside of the current attribute set, make sure you have a . at the end. Then you can press enter to evaluate and see the declaration. For example when you set networking.hostName in configuration.nix you can actually find it under options.networking.hostName.value evaluating that in the repl.

sunstoned ,

Amazing! I’ve used that before but just to look for packages offline. I’ll definitely check that out.

Laser ,

Well, a lot of it is just trying stuff out, but let’s say you want to setup Navidrome because you read about it somewhere. My first step is always to go to search.nixos.org/options? and search for it, it’ll show you the options available. If you want to know how it’s implemented under the hood, press the “Declared in” link where it shows you the source code of the module, this can sometimes be helpful.

Other than that, read the wiki for examples, and remember that nix is a full language and not just a configuration, so you can keep it flexible.

suction ,

They’re not in a single file though, you got includes

Laser ,

Technically correct, but the settings in there are not service specific. However, if there’s something worthy of reworking it’s probably the Authelia part

DeltaTangoLima , to piracy in How big is YOUR collection?
@DeltaTangoLima@reddrefuge.com avatar
  • About 1,400 movies: 6.7TB
  • About 15,100 episodes: 10.9TB

Spread across a couple of NASes, each with 4 x 4TB drives in RAID5.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines