mirror.dongdigua.github.io/org/nixos.org

938 B

Build a Minimal NixOS LiveCD with swaywm

problem & solution

unable to drop root

donot run under root

in normal user, libseat permission deniened

add user in video group login as user, not root

egl error

enable 3D acceleration in VirtualBox

config files from outside

/dongdigua/mirror.dongdigua.github.io/media/commit/6872c4fa9d96b0b40bddfa0f3f4536cc5b50ddc0/images/irc-nixiso.png but it is copied using xoriso to /iso/ so I need to write a systemd service to automagically sync it at boot

cleanup builds

/nix/store/ takes too much space after build

unlink result
nix-store <path>

and there're a few tools for visualising disk size: https://nixos.wiki/wiki/Cleaning_the_nix_store