From 243ad0977e44a305fedd672371c7812b7dccd965 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Sat, 3 Dec 2022 22:40:09 +0800 Subject: [PATCH] remove nixos.org, put everything in wayland.org nixos.org was a WIP and it's time, it's full of nonsense --- org/nixos.org | 28 ---------------------------- org/wayland.org | 22 ++++++++++++++++------ posts.md | 1 - 3 files changed, 16 insertions(+), 35 deletions(-) delete mode 100644 org/nixos.org diff --git a/org/nixos.org b/org/nixos.org deleted file mode 100644 index 44b2ecf..0000000 --- a/org/nixos.org +++ /dev/null @@ -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 -#+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]] diff --git a/org/wayland.org b/org/wayland.org index 5ce7f82..f9a09ec 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -3,11 +3,19 @@ #+OPTIONS: toc:nil * 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 *** [[https://www.reddit.com/r/swaywm/comments/djkj5m/ibus_on_swaywm/][reddit: ibus on swaywm]] -emacs pyim -** Emacs transparent, terminal blur -sway can't, probably wayfire? +so I use emacs pyim ** Authorization required, but no authorization protocol specified *** =sudo -E= *** 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 *** [[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/6778][pull #6778]] *** r/swaywm **** [[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/]] -** notify-send don't work -mako, a notification daemon ** 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) *** 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://github.com/rxyhn/yoru][夜 - Yoru]] 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]] diff --git a/posts.md b/posts.md index e4e8de4..535d3d1 100644 --- a/posts.md +++ b/posts.md @@ -9,7 +9,6 @@ please contct me if you have a better idea - [Gentoo LLVM\_TARGETS not Working?](gentoo_llvm_targets)
- [CentOS/Fedora 不同的配置默认都安装了什么软件](anaconda_kickstarts)
for [COSSIG](https://www.cossig.org) -- [build a nixos live image](nixos)
- [moonboos, 懂的都懂](moonboos)
- [MGLNDD scans](weird_mglndd)
- [推荐 everforest 主题](recommend_everforest_theme)