remove nixos.org, put everything in wayland.org

nixos.org was a WIP and it's time,
it's full of nonsense
This commit is contained in:
dongdigua 2022-12-03 22:40:09 +08:00
parent 7daf84962a
commit 9fe75d18ac
3 changed files with 16 additions and 35 deletions

View File

@ -1,28 +0,0 @@
#+TITLE: Build a Minimal NixOS LiveCD with swaywm
#+DATE: <2022-09-17 六>
* 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
[[../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
#+BEGIN_SRC sh
unlink result
nix-store <path>
#+END_SRC
and there're a few tools for visualising disk size:
https://nixos.wiki/wiki/Cleaning_the_nix_store
* reference
** [[https://sr.ht/~guido/nixos-init-freedom/][nixos without systemd?]]
** [[https://gist.github.com/kborling/76805ade81ac5bfdd712df294208c878][an example config]]
** [[https://xeiaso.net/blog/super-bootable-64-2020-05-06][Xe: Super Bootable 64]]

View File

@ -3,11 +3,19 @@
#+OPTIONS: toc:nil #+OPTIONS: toc:nil
* Solution * Solution
** VirtualBox
*** cursor
=WLR_NO_HARDWARE_CURSORS=1=
*** egl error
enable 3D acceleration in VirtualBox
** unable to drop root
donot run under root
*** in normal user, libseat permission deniened
add user in =video= group
login as user, not root
** iBus ** iBus
*** [[https://www.reddit.com/r/swaywm/comments/djkj5m/ibus_on_swaywm/][reddit: ibus on swaywm]] *** [[https://www.reddit.com/r/swaywm/comments/djkj5m/ibus_on_swaywm/][reddit: ibus on swaywm]]
emacs pyim so I use emacs pyim
** Emacs transparent, terminal blur
sway can't, probably wayfire?
** Authorization required, but no authorization protocol specified ** Authorization required, but no authorization protocol specified
*** =sudo -E= *** =sudo -E=
*** lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1) *** lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1)
@ -32,12 +40,9 @@ add =seat seat0 xcursor_theme Oxygen_White= in sway config file
use libinput-gestures use libinput-gestures
*** [[https://github.com/swaywm/sway/issues/1514][issue #1514: touchpad gestures to switch workspaces]] *** [[https://github.com/swaywm/sway/issues/1514][issue #1514: touchpad gestures to switch workspaces]]
**** [[https://github.com/swaywm/sway/pull/4952][pull #4952]] **** [[https://github.com/swaywm/sway/pull/4952][pull #4952]]
***** [[https://github.com/swaywm/sway/pull/6778][pull #6778]]
*** r/swaywm *** r/swaywm
**** [[https://www.reddit.com/r/swaywm/comments/px5vmw/how_are_you_configuring_touchpad_gestures/]] **** [[https://www.reddit.com/r/swaywm/comments/px5vmw/how_are_you_configuring_touchpad_gestures/]]
**** [[https://www.reddit.com/r/swaywm/comments/em0jnx/can_sway_handle_threefour_finger_touchpad_gestures/]] **** [[https://www.reddit.com/r/swaywm/comments/em0jnx/can_sway_handle_threefour_finger_touchpad_gestures/]]
** notify-send don't work
mako, a notification daemon
** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]] ** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]]
** emacs tool-bar not working(cannot toggle and icon theme missing) ** emacs tool-bar not working(cannot toggle and icon theme missing)
*** cannot toggle: disable custon =default-frame-alist=, or just use floating mode *** cannot toggle: disable custon =default-frame-alist=, or just use floating mode
@ -65,3 +70,8 @@ this is excellent, but...not for me, I'd like something simpler
**** [[https://archcraft.io][archcraft]] **** [[https://archcraft.io][archcraft]]
*** [[https://github.com/rxyhn/yoru][夜 - Yoru]] *** [[https://github.com/rxyhn/yoru][夜 - Yoru]]
awesome config! awesome config!
* NixOS related
** [[https://sr.ht/~guido/nixos-init-freedom/][nixos without systemd?]]
** [[https://gist.github.com/kborling/76805ade81ac5bfdd712df294208c878][a really useful example config]]
** [[https://xeiaso.net/blog/super-bootable-64-2020-05-06][Xe: Super Bootable 64]]

View File

@ -9,7 +9,6 @@ please contct me if you have a better idea
- [Gentoo LLVM\_TARGETS not Working?](gentoo_llvm_targets)<br> - [Gentoo LLVM\_TARGETS not Working?](gentoo_llvm_targets)<br>
- [CentOS/Fedora 不同的配置默认都安装了什么软件](anaconda_kickstarts)<br> - [CentOS/Fedora 不同的配置默认都安装了什么软件](anaconda_kickstarts)<br>
for [COSSIG](https://www.cossig.org) for [COSSIG](https://www.cossig.org)
- [<font color=grey>build a nixos live image</font>](nixos)<br>
- [moonboos, 懂的都懂](moonboos)<br> - [moonboos, 懂的都懂](moonboos)<br>
- [MGLNDD scans](weird_mglndd)<br> - [MGLNDD scans](weird_mglndd)<br>
- [推荐 everforest 主题](recommend_everforest_theme)<br> - [推荐 everforest 主题](recommend_everforest_theme)<br>