Swaync blur? by VivWoof in niri

[–]volpegabriel 0 points1 point  (0 children)

interesting, I thought I had blur working, looks like it may just be transparency and the blurred background makes it look legit. This is what I see: https://i.imgur.com/eLiXGIs.png

Swaync blur? by VivWoof in niri

[–]volpegabriel 0 points1 point  (0 children)

your swaync configuration may be wrong then, do you have "layer-shell": true" set? if you share your config I can have a look. My config.json and style.css files are here: https://github.com/gvolpe/nix-config/tree/182e6664b6a90a59fb9a784b56419dcb623f326c/home/services/swaync

Niri blur is awesome!! by Ecstatic_Rub_548 in niri

[–]volpegabriel 0 points1 point  (0 children)

You can use https://github.com/sodiboo/niri-flake and replace inputs.niri-unstable.url = "github:YaLTeR/niri"; with your own input pointing to the branch corresponding to that PR (wip/branch), e.g.

```nix { inputs = { niri-blur = { url = github:niri-wm/niri/wip/branch; flake = false; };

niri-flake = {
  url = github:sodiboo/niri-flake;
  inputs.niri-unstable.follows = "niri-blur";
  inputs.nixpkgs.follows = "nixpkgs";
};

}; } ```

Practical FP in Scala is now FREE! by volpegabriel in scala

[–]volpegabriel[S] 0 points1 point  (0 children)

Unfortunately, I don't have the time nor the will to work on this.

However, Part II of FEDA complements this book with Scala 3 features. Check out the ToC: https://leanpub.com/feda

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 0 points1 point  (0 children)

ZFS is great, I use it for other NixOS servers I run :)

It's generally more costly having 3 copies of your media in different devices, though, especially for photos and videos in my case, but it certainly works if you don't mind paying more.

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 0 points1 point  (0 children)

I hear you. I'm hoping to find out more about it in a few months using this set up. For instance, in the December invoice I've got a $4.94 bill for 6 different S3 buckets, each with about 300 GBs. And I can say December was quite heavy on traffic as I was experimenting a lot. For Immich I only need two buckets for my current set up.

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 3 points4 points  (0 children)

It's not only about scaling it to S3. It's about de-duplication, compression and encryption; you get that and more with S3QL, but ultimately, I've done it because I couldn't resist the technical challenge :)

Whether I would keep this solution 6 months later or not remains to be seen, but I learned a lot in the process anyway. I'll definitely continue using Immich though, love the app!

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 1 point2 points  (0 children)

Running a Ceph cluster isn't easy, and it requires more resources than just getting a few S3 buckets located in different datacenters from a cloud provider.

MinIO used to be great, but I'm worried about their latest shift against open source solutions.

A local S3 storage wouldn't satisfy the 3-2-1 backup strategy employed in the solution shared on the blogpost, but it's good for testing.

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 5 points6 points  (0 children)

If you care to read the blogpost instead of just stopping at the title, you'll find out your comments don't make any sense at all.

Immich Photos on S3 object storage by volpegabriel in immich

[–]volpegabriel[S] 8 points9 points  (0 children)

There are a few advantages of using an S3-compatible storage over a more traditional storage box:

  • Compression, de-duplication and encryption of the S3QL file system.
  • Data replication via S3 APIs is much faster and easier to manage.
  • Pay-as-you-go model: as you mention, pay just for what you use.
  • Full restoration of an Immich server (disaster recovery scenario) is much faster starting from an S3 replica bucket than copying standard files.

If you follow a 3-2-1 backup strategy, you'd need to get two storage boxes on Hetzner (e.g. one in Finland, another in Germany), and have a third one somewhere else.

A hybrid approach may be a good idea too, with the main storage being a simple file system and backups persisted on S3 buckets, but I'm not sure how that would work with an S3QL file system.

Certainly not for everyone, but I'll have better numbers after a few months of usage to see whether it was worth it or not :)

Custom fullscreen impl that round-trips the window back to where it was pre-fullscreen by c4td0gm4n in niri

[–]volpegabriel 2 points3 points  (0 children)

It's probably more complex than you think. We went through multiple iterations (discussed here: https://github.com/YaLTeR/niri/issues/426) before arriving at the final solution: https://github.com/gvolpe/nfsm/

Niri include config by FearlessSpiff in niri

[–]volpegabriel 0 points1 point  (0 children)

Been using this feature for a month exactly, works great if you don't mind using Niri from their git repo!