# used for specific settings you have outside of your docker config # ex: proxies to external servers, storage configuration... # remove this block entirely if not needed (Only used for Docker Swarm) #configs: # caddy-basic-content: # file: ./Caddyfile # labels: # caddy:
services: caddy: container_name:caddy image:lucaslorentz/caddy-docker-proxy:ci-alpine ports: -80:80 -443:443 environment: -CADDY_INGRESS_NETWORKS=caddy -CADDY_DOCKER_CADDYFILE_PATH=/Caddyfile networks: -caddy volumes: -/var/run/docker.sock:/var/run/docker.sock # this volume is needed to keep the certificates # otherwise, new ones will be re-issued upon restart -caddy_data:/data -./Caddyfile:/Caddyfile restart:unless-stopped
Just bought a steamdeck for pure curiosity. The device surprises my in every aspect. It’s not as heavy as expected, pretty durable with tweakable TDP, with a seemingly versatile arch linux base system. However, the system is READONLY, to a degree. From as far as I’ve suffered, the /usr path is readonly, which really forbids almost all pacman packages from being installed. Which is also why I’m writing in English. I cannot install fcitx, thus no IME!!!
There indeed, is a dirty way to solve this. Which is:
1
sudo steamos-readonly disable
The command make steamos a fully writable, normal arch linux distribution. The only bad thing is, after next steamos update, everything you wrote would be reset. I would like some elegant solution to this.
The first thing that comes to me is to check what the heck is readonly at all. Let’s see what mount says.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
> mount /dev/nvme0n1p4 on / type btrfs (rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/) /dev/nvme0n1p6 on /var type ext4 (rw,relatime) overlay on /etc type overlay (rw,relatime,lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlays/etc/upper,workdir=/sysroot/var/lib/overlays/etc/work) /dev/nvme0n1p8 on /home type ext4 (rw,relatime,x-systemd.growfs) /dev/nvme0n1p8 on /opt type ext4 (rw,relatime) /dev/nvme0n1p8 on /root type ext4 (rw,relatime) /dev/nvme0n1p8 on /srv type ext4 (rw,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64) /dev/nvme0n1p8 on /var/cache/pacman type ext4 (rw,relatime) /dev/nvme0n1p8 on /var/lib/docker type ext4 (rw,relatime) /dev/nvme0n1p8 on /var/lib/flatpak type ext4 (rw,relatime) /dev/nvme0n1p8 on /var/lib/systemd/coredump type ext4 (rw,relatime) /dev/nvme0n1p8 on /var/log type ext4 (rw,relatime) /dev/nvme0n1p8 on /var/tmp type ext4 (rw,relatime) /dev/mmcblk0p1 on /run/media/mmcblk0p1 type ext4 (rw,noatime)
Ok, the /etc is overlayed so it is writable, make sense. But why / is rw?
Now according to this https://www.svenknebel.de/posts/2022/5/2/, /usr/bin/steamos-readonly is a shell script (That’s astonishing). And the readonly is a btrfs tweak, rather than a mount one.
That does not help. I suppose there leaves us to choose among a few other ways.
Turn to homebrew. I saw this online and I’m not so sure why homebrew does not write to /usr. But hey homebrew is nothing related to elegant.
Install everything in container. But how am I supposed to install a container runtime without writing to /usr?
Use a script to automate the installations, ugly.
I’ve tested designating pacman to install packages in a separate root dir, which proves very awkward. The applications are not very friendly and without a chroot they refuse to work properly. And when they do write to writable paths (/etc for configs and services), it does not work as expected.
God damn it no! When I last installed Rime/usr was readonly, and pacman supposed the installation is successful! fcitx-diagnose gives lots of unfounded dependencies, now I have to reinstall them all, one by one.
And after everything done fcitx5 still does not seem to work properly. The pinyin IME just does not work with no prompts and Rime said an error occured and I should check /tmp/rime.fcitx.ERROR, while there is no such file! There is one post discussing such problem https://forum.suse.org.cn/t/topic/14534, but it seems to be a packing bug rather than a program one. At this point I have no idea how to fix that.
整个游戏的地图都有堆怪之嫌,尤其是禁区的肉山和最深处的浮游炮。而游戏前后期的 BOSS 设计多少有些割裂。最后几个 BOSS (米瑞尔,污秽之王)像是赶工出来的,招式数量倒不如开头的几个 BOSS。包括地牢的海尼尔,设计的都多少有些失败,缺少互动性。
无法结尾的剧情
游戏的名字 Ender Lilies 非常巧妙,中文翻译很难体现出其中含义。在游戏的过程中我们会不断遇到长得和主角一样的小女孩的尸体。而到游戏的后期,我们得知其中一个叫做莉莉。在接近结尾处才发现,这些小女孩都是实验产出,她们都叫做莉莉,所以这里的 Lilies 除了解为百合花的复数,也可作莉莉的复数。游戏统共三个结局,且不说主角深藏地下的 B 结局,不论是 A 结局还是 C 结局,边陲之国都已经没有正常的活人了。污秽之雨确实停止了,但那又如何呢?