- 0 Posts
- 110 Comments
tux7350@lemmy.worldto
linuxmemes@lemmy.world•Social gatherings have been... different since I switched.
2·8 days agoAh, what you’re looking for is called udev. It supplies the system with device events from the linux kernel.
This gist of it is, to use this command
udevadm monitor --environment --udevthen unplug and plug in your monitor. You should see the events on screen. You then write a rule and place it in /etc/udev/rules.d. To run a script add something like
ACTION=="change", SUBSYSTEM=="drm", KERNEL=="card0-HDMI-A-1", \ RUN+="/usr/local/monitor-script.sh"See the man udev page for more info (☞゚ヮ゚)☞
tux7350@lemmy.worldto
Linux@lemmy.world•Those who've switched to Linux in the last year, how is it going?English
1·14 days agoHave you tried setting up qemu with virt-manager? Theres a lot of info on how to set it up for most distros and I find the GUI is very straightforward and easy to use.
Made me laugh in the middle of a restaurant, thanks 🤣
Yeah you just have to deal with mast bumping, as if thats any less worrying.
tux7350@lemmy.worldto
Selfhosted@lemmy.world•Is there a self hosted mTLS manager?English
6·1 month agoYou can use Authentik to setup an LDAP outpost then use a jellyfin LDAP plug-in to sync everything up.
https://github.com/jellyfin/jellyfin-plugin-ldapauth?tab=readme-ov-file
Course, feel free to DM if you have questions.
This is a common setup. Have a firewall block all traffic. Use docker to punch a hole through the firewall and expose only 443 to the reverse proxy. Now any container can be routed through the reverse proxy as long as the container is on the same docker network.
If you define no network, the containers are put into a default bridge network, use docker inspect to see the container ips.
Here is an example of how to define a custom docker network called “proxy_net” and statically set each container ip.
networks: proxy_net: driver: bridge ipam: config: - subnet: 172.28.0.0/16 services: app1: image: nginx:latest container_name: app1 networks: proxy_net: ipv4_address: 172.28.0.10 ports: - "8080:80" whoami: image: containous/whoami:latest container_name: whoami networks: proxy_net: ipv4_address: 172.28.0.11Notice how “who am I” is not exposed at all. The nginx container can now serve the whoami container with the proper config, pointing at 172.28.0.11.
Well if your reverse proxy is also inside of a container, you dont need to expose the port at all. As long as the containers are in the same docker network then they can communicate.
If your reverse proxy is not inside a docker container, then yes this method would work to prevent clients from connecting to a docker container.
Something like this. This is a compose.yml that only allows ips from the local host 8080 to connect to the container port 80.
services: webapp: image: nginx:latest container_name: local_nginx ports: - "127.0.0.1:8080:80"
Excuse me have you heard about our lord and savior, NixOS?
tux7350@lemmy.worldto
Selfhosted@lemmy.world•What OS do you like for digital signage/kiosk/dashboard only?English
3·3 months agoOoo I do love me some Nix modules. Any particular options to look out for in order to configure something like that?
Edit:
It’s programs.chromium.extraOpts isnt it? Lol
tux7350@lemmy.worldto
linuxmemes@lemmy.world•Somehow *this* is what's going to convince me to distro hop.
3·4 months agoHow do you manage your images in Nix? Ive got a bunch of docker compose files and want to migrate over but havent had the time to sink.
tux7350@lemmy.worldto
Technology@lemmy.world•Fooling a self-driving car with mirrors on traffic conesEnglish
13·4 months ago
Hmm these are some pretty cool features I’d be interested in. I currently use Voyager for lemmy and quite like the layout. Does Piefed have any good mobile clients? Is there something you’d recommend?
Another way to say it, if you cut a sphere in half and both sides are equal, its a great circle. All lines of longitude and the equator are great circles.
tux7350@lemmy.worldto
Programmer Humor@programming.dev•Context: Docker bypasses all UFW firewall rules
2·5 months agoDid you allow the containers to talk to eachother with ufw after setting it up?





Holy shit I had no idea about this. Thank you so much!