Kekin

joined 1 year ago
[–] Kekin@lemy.lol 4 points 2 months ago (2 children)

Not really through Caddy but for my setup I have it so the ssh port for Forgejo is only accessible through tailscale. So for push/pulling updated my ssh config file to something like

Host git.mysite.com HostName tailscaleMachineName User git Port 1234

Then doing git pull git@git.mysite.com:user/project.git works just fine as long as I am connected to tailscale

Otherwise you could open the port for Forgejo's ssh so that you can access it without any vpn

[–] Kekin@lemy.lol 3 points 2 months ago

Getting a second drive just for windows I think is a good approach. If you were to do so, it's important that you remove all other drives while installing windows, otherwise the Windows installer will put its boot files into whatever existing EFI partition it finds.

Then using something like https://github.com/Raphire/Win11Debloat you should be good to go with a relatively clean setup.

To have a local account, I use Rufus to setup the usb installer in a way that it automatically creates the local account, and it can also disable the secure boot and tpm requirements from the installer if you want. Though I think rufus is a windows program only. I know there's the "OOBE" approach for the local account, but I haven't done that before. That could be an option too

[–] Kekin@lemy.lol 5 points 3 months ago

https://wiki.archlinux.org/title/Bluetooth_headset

Sections 3.3 or 3.4

I did 3.4 to disable the headset profiles cause generally it's ass

[–] Kekin@lemy.lol 1 points 3 months ago (1 children)

I have had this happen to me when my monitor turns off before the night shift starts and when I come back let's say an hour later and the night shift is not on.

Prob has something to do with the monitor being off at the switching time

[–] Kekin@lemy.lol 12 points 5 months ago* (last edited 5 months ago) (2 children)

A tip I saw some time ago is to do:

rm folder -rf

Additionally you could move the git folder to the trash folder. I think it's usually located at $HOME/.local/share/trash/files/

Then you can delete it from the trash once you're certain you got the right folder

[–] Kekin@lemy.lol 1 points 5 months ago (1 children)

It mentions it fixed bluetooth issues with certain devices, I wonder if it's related to what I'm experiencing on regular fedora KDE (and EndeavorOS too) with a kernel version 6.9.3, CachyOS kernel on fedora, Liqourix on EndeavorOS, where my game controller will not connect to Bluetooth unless I restart the bluetooth service or pair the controller again.

With Fedora's default kernel which is currently 6.8.11 I don't have this issue. Honeslty I don't know what's up, and from a quick search I couldn't find people with the same issue. I'll search again later just in case

[–] Kekin@lemy.lol 4 points 5 months ago (2 children)

One pet peeve of mine is how in Windows 10 switching between virtual desktops was flawless, and somehow in Windows 11 they fucked it up. At first it had no animation when switching, the taskbar kind of glitches. Now it has an animation but it's kind of delayed and the taskbar still kind of glitches, it seems to reload or something. Kinda crazy honestly

[–] Kekin@lemy.lol 22 points 5 months ago

mfers raised the yearly price from 80 USD to 100 this year, and then they sent me an email that next year it'll be 120! a 50% increase in two years, insane.

[–] Kekin@lemy.lol 15 points 6 months ago (6 children)

I use Photoprism, mainly because it seems stable so far, and it's good enough for my needs

[–] Kekin@lemy.lol 1 points 6 months ago (1 children)

May be related to this: https://github.com/jellyfin/jellyfin/issues/11380

I know my setup with intel integrated gpu worked prior to the release pf 10.9. Now I can't get transcoding to work. In the comments they suggest the kernel version has something to do with it but for me it didn't fix it. I'll have to troubleshoot further today

Meanwhile transcoding works fine in Plex, so I feel it may be something specific to jellyfin

[–] Kekin@lemy.lol 7 points 6 months ago (3 children)

I can speak at least for rootless podman, I spent some hours on it and different ways I tried all ended in permission issues.

I gave up on trying to do it properly and just set the permissions of the /dev/dri device to 666, so that my podman container can use the gpu for transcoding.

Part of the issue with the container images that I tried is that they create a new user with whatever uid:gid I pass to the container, and so even if my nonroot user is part of the render group, the new user inside the container is not and so it can't write to the /dev/dri/renderD128 (gpu), and so transcode wouldn't work.

That's where I left the troubleshooting at cause it was being a headache

 

I've been trying to get hardware acceleration working on rootless containers of Plex and Jellyfin and I can't get it to work the proper way.

My current workaround is having my device /dev/dri/renderD128 with permissions set to 666, but I feel like that really isn't an ideal setup.

Some things I've done:

-Currently I'm running my containers with my user with ID 1000.

-My user is part of the render group, which is the group assigned to:

    /dev/dri/renderD128

-I'm passing the device to the containers as such:

  --device /dev/dri:/dev/dri

-In my plex container for example, I'm passing the IDs to use as such:

   -e PUID=1000 and -e PGID=1000

-I tried the option "--group-add keep-groups" and I see the groups in the container but I believe they're assigned to the root user in the container, and from my understanding, the plex and jellyfin images I've tried I think they create a user inside with the IDs I pass, in this case 1000, and so this new user doesn't get assigned my groups on the host. I'm using the LinuxServer.io images currently but I saw the official plex image creates a user named "plex". The LinuxServer.Io images create a user named "abc".

-Out of curiosity on the host I changed the group of /dev/dri/renderD128 to my user's group 1000, but that didn't work either

-I tried with the --privileged option too but that didn't seem to work either, at least running podman as my user.

-I haven't tried running podman as root for these containers, and I wonder how that compares security-wise vs having my /dev/dri/renderD128 with permissions set to 666

For some context, I've been transitioning from Docker to Podman rootless over the past 5 days maybe. I've learned a couple of things but this one has been quite a headache.

Any tips or hints would be appreciated. Thanks!

view more: next ›