hamsda

joined 4 months ago
[–] hamsda@lemm.ee 2 points 2 months ago (1 children)

I have some old mini-PC in my living room that's running a hypervisor and a few VMs. One of those VMs is used for pihole. I used docker and docker compose for this.

My docker-compose.yaml is a little more fancy than that because I deploy it via GitLab CI, but here's the kind of config you can expect:

# More Info and full example docker-compose here:
#   https://github.com/pi-hole/docker-pi-hole/#running-pi-hole-docker
services:
  pihole:
    container_name: pihole
    hostname: pihole
    image: pihole/pihole:latest
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "80:80/tcp"
      - "443:443/tcp"
    environment:
      PIHOLE_UID: '1000'
      PIHOLE_GID: '1000'
      TZ: 'YOUR_SERVER_TIMEZONE'
      FTLCONF_webserver_api_password: "YOUR_PIHOLE_ADMIN_PASSWORD"
      FTLCONF_dns_listeningMode: 'all'
    volumes:
      - etc-pihole:/etc/pihole
    restart: unless-stopped

I mostly copy-pasted that from the official pihole docker compose quick-start example.

To update, you would just need to run the following in the same directory as the docker-compose.yml file.

docker compose stop
docker compose pull
docker compose up -d

If pihole is the only thing you really want to run, a new machine and hypervisor are too much for just that. If ad-free surfing is all you want, you can just get a raspberry pi and setup pihole on that thing. You can still use docker compose, as the pihole images are available for ARMv6, ARMv7 and ARM64.

[–] hamsda@lemm.ee 16 points 2 months ago

And then you critize the government, get a sham trial and are marked for your crime as some kind of "garbage person" without rights. Afterwards, execution or locking away and maybe throw in some torture for the fun of it. This is reality already. It just hasn't been done to you.

You can feel about it however you want, I may even feel the same with some people, but as an adult, we have to use logic.

The point is, there must never be an official group of people without rights you can just "get rid of" im some way. This limit is not for the punished, it exists to shield the innocent.

[–] hamsda@lemm.ee -5 points 2 months ago* (last edited 2 months ago) (2 children)

Isn't being jailed forever also an "easy way out"? I'm sure there are people on this planet who are not in jail, but, because of too little money or other circumstances, have less and get treated worse than people in jail.

Also, if being alive really is hell to you, you might want to do something about this.

[edit]

It seems this has been unclear. By "do something about this" I meant speaking about the problem or therapy or the like. Yes, life sucks some times, but if being alive is hell for you, you got a problem to fix.

[–] hamsda@lemm.ee 29 points 2 months ago (5 children)

These are the occasions I wish death penalty was a thing, especially for those cases where the idiots have been caught in the act - there are better things to do with my tax money than making sure they have a place to live in and some nice good meals to go with it.

I do understand how you feel about that and I do kinda feel the same, BUT ... you always have to assure that every last person has rights and gets acceptable treatment, even the ones who seemingly have no soul. Because if there's ever a category of people without rights, any government would have an easy way to get rid of eveyone critizing them.

[–] hamsda@lemm.ee 1 points 2 months ago

Well the plan worked too well, and I now have no discernible drives

Never used Bazzite, but to me that sounds like one of the following possibilities

  • the drives have been automounted and you do not know where
  • Bazzite uses LVM to create a "pool of storage" to be used instead of using drives seperately

Disks have been automounted

You can check if this is the case by opening a terminal and typing in lsblk. This command lists all drives and the folder they have been mounted to.

Sample output from my pc:

❯ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
zram0       251:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 931,5G  0 disk
├─nvme0n1p1 259:1    0   600M  0 part /boot/efi
├─nvme0n1p2 259:2    0     1G  0 part /boot
└─nvme0n1p3 259:3    0 929,9G  0 part /home
                                      /
nvme1n1     259:4    0 465,8G  0 disk

As you can see, this means I have 1 zram disk as swap space, 1 M.2 NVME disk (nvme0n1) with 931GB (1TB) split into 3 partitions (mounted on /boot/efi, /boot, /home and /) and one unused M.2 NVME disk (nvme1n1) with 465GB (500GB).

As @dustyData@lemmy.world in his answer said, Bazzite might mount drives somewhere in /var/mnt.

Bazzite uses LVM

LVM (Logical Volume Manager) is used to create a "storage pool" out of multiple disks, even if they have different sizes etc. If Bazzite used LVM to "fuse" your disks, you will not be able to use them seperately.

You can check if LVM was used by opening a terminal and executing the following commands:

sudo pvdisplay
sudo lvdisplay

These commands show the physical volumes (pvdisplay) known to LVM and the logical volumes (lvdisplay) managed by LVM. If there's no output it means that Bazzite did not use LVM.

is it possible to skip (only) that somehow and auto log in?

Using Fedora Workstation 42 with GNOME 48 I can enable autologin in the system settings app. You should be able to find it under system -> users

[–] hamsda@lemm.ee 5 points 2 months ago (1 children)

Back when I was using Arch Linux and still did a lot of desktop-experimenting, I tried linux-zen out of curiosity.

I did not do any benchmarks, as I wanted to know if I can notice anything. I did not feel any difference. Maybe it was because I did not play the most pc-stressing games, maybe there was no difference because my hardware was relatively new, maybe it was because most of my games were more GPU-limited then CPU-limited, I do not know. All I can say is, there was no difference for me to notice in my gaming sessions, so I switched back to the default kernel.

Currently using Fedora Workstation 42 and linux 6.14.5, still happy with default kernel.

[–] hamsda@lemm.ee 2 points 3 months ago

Also, Terminal User Interfaces are a nice middle ground between learning terminal commands and having a GUI.

Yes, TUIs definitely help reduce possible stress and fear of complexity for new users.

Thanks for the git link, didn't know that, just starred it :)

[–] hamsda@lemm.ee 2 points 3 months ago

Yeah, linux-servers without the tools installed in your PC are a hassle. That's why I learned to work with vim, as that's in nearly every distro's repo.

I recommended atuin as I was using it before, but currently I am using ohmyzsh with the fzf plugin for zsh. This has a very atuin-like interface and handling, but as a plugin for zsh itself.

[–] hamsda@lemm.ee 1 points 3 months ago

I also grew up with the first gameboy, nes and n64. But nowadays, especially for something like helldivers 2, the bare minimum for me is a constant 60fps.

I was wondering because I tried to play Outward split screen on my friend's TV and, even turning resolution and graphics way down, the Deck barely got to 40 FPS.

[–] hamsda@lemm.ee 2 points 3 months ago (2 children)

You play Helldivers 2 on the deck? What's the performance like? I imagine, especially at higher level dificulties, the Deck must be struggling.

[–] hamsda@lemm.ee 1 points 3 months ago

Degrees of Seperation - 2D puzzler with wonderful scenes and visuals

Heavenly Bodies - 2D puzzler about astronauts and 0 gravity environments

Unrailed - isometric 3D. A train starts driving and you need to gather resources and build tracks etc.

Wobbly Life - 3D fun game, no real objective, just many quests and activities throughout the world

[–] hamsda@lemm.ee 3 points 3 months ago

Yes, a backup in a different location is necessary either way, I should have worded that better.

I still prefer selfhosting, if feasible. Having data sovereignty has it's benefits.

view more: ‹ prev next ›