new post: nix

This commit is contained in:
dongdigua 2022-09-18 12:10:57 +08:00
parent af83763542
commit fe3aa1c4cd
9 changed files with 442 additions and 31 deletions

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-09-15 四 12:06 -->
<!-- 2022-09-16 五 17:03 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Editor Cheatsheet</title>
@ -220,6 +220,7 @@
<li><a href="#orgf8f6959">2.1. org-mode</a></li>
<li><a href="#orgb2dafde">2.2. normal</a></li>
<li><a href="#orgdf6017f">2.3. dired</a></li>
<li><a href="#orga199e41">2.4. eww/elpher (essensial)</a></li>
</ul>
</li>
<li><a href="#orga913e68">3. Git</a></li>
@ -545,12 +546,13 @@
<col class="org-left" />
</colgroup>
<tbody>
<thead>
<tr>
<td class="org-left">key</td>
<td class="org-left">usage</td>
<th scope="col" class="org-left">key</th>
<th scope="col" class="org-left">usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left">R</td>
<td class="org-left">rename</td>
@ -559,6 +561,73 @@
</table>
</div>
</div>
<div id="outline-container-orga199e41" class="outline-3">
<h3 id="orga199e41"><span class="section-number-3">2.4.</span> eww/elpher (essensial)</h3>
<div class="outline-text-3" id="text-2-4">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">key</th>
<th scope="col" class="org-left">usage</th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left">TAB</td>
<td class="org-left">shr-next-link/elpher-next-link</td>
</tr>
<tr>
<td class="org-left">d</td>
<td class="org-left">eww-download/elpher-download</td>
</tr>
<tr>
<td class="org-left">g</td>
<td class="org-left">eww-reload/elpher-go</td>
</tr>
<tr>
<td class="org-left">l</td>
<td class="org-left">eww-back-url</td>
</tr>
<tr>
<td class="org-left">&circ;</td>
<td class="org-left">elpher-back-url</td>
</tr>
<tr>
<td class="org-left">&amp;</td>
<td class="org-left">eww-browse-with-external-browser</td>
</tr>
<tr>
<td class="org-left">v</td>
<td class="org-left">eww-view-page-source</td>
</tr>
<tr>
<td class="org-left">w</td>
<td class="org-left">eww-copy-page-url</td>
</tr>
<tr>
<td class="org-left">.</td>
<td class="org-left">elpher-view-raw</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="outline-container-orga913e68" class="outline-2">
@ -601,7 +670,7 @@ git log --pretty=tformat: --numstat | awk <span style="font-style: italic;">'{
</tr>
<tr>
<td class="org-left">M-W</td>
<td class="org-left">M-w</td>
<td class="org-left">what is this</td>
</tr>
</tbody>
@ -612,7 +681,7 @@ git log --pretty=tformat: --numstat | awk <span style="font-style: italic;">'{
<div id="postamble" class="status">
<p class="date">Date: 2022-06-13 一 00:00</p>
<p class="author">Author: dongdigua</p>
<p class="date">Created: 2022-09-15 四 12:06</p>
<p class="date">Created: 2022-09-16 五 17:03</p>
</div>
</body>
</html>

View File

@ -119,6 +119,7 @@
}
a {
cursor: crosshair;
text-decoration: none;
color: #39c5bb;
}

BIN
images/irc-nixiso.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-09-15 四 12:06 -->
<!-- 2022-09-16 五 17:03 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Internet Collections</title>
@ -594,6 +594,13 @@ gopher://gopher.lantian.pub<br />
<div id="outline-container-org82f5b39" class="outline-4">
<h4 id="org82f5b39"><span class="section-number-4">1.55.2.</span> <a href="https://ulyc.github.io/2021/01/13/2021%E5%B9%B4-%E7%94%A8%E6%9B%B4%E7%8E%B0%E4%BB%A3%E7%9A%84%E6%96%B9%E6%B3%95%E4%BD%BF%E7%94%A8PGP-%E4%B8%8A/">2021年, 用更现代的方法使用PGP</a></h4>
<div class="outline-text-4" id="text-1-55-2">
<blockquote>
<p>
同样是非对称算法,为什么PGP的私钥就长这么多呢<br />
因为他们用的算法不同比特币默认使用的是ECDSA的 secp256k1算法 该算法只是用来签名和认证,并不用来加密<br />
(signify 也只用于签名和认证,所以密钥也比较短)<br />
</p>
</blockquote>
</div>
<ol class="org-ol">
<li><a id="org693df2d"></a><a href="https://spwo.notion.site/GitHub-6b1e1d57f52c4664bff61cadb3f9cb8d">震惊! 竟然有人在 GitHub 上冒充我的身份!</a><br /></li>
@ -603,53 +610,69 @@ gopher://gopher.lantian.pub<br />
<h4 id="org5581a62"><span class="section-number-4">1.55.3.</span> <a href="https://ulyc.github.io/2019/08/01/%E5%88%9D%E7%AA%A5CORB/">Cross-Origin Read Blocking</a></h4>
</div>
</div>
<div id="outline-container-orge3c0a2d" class="outline-3">
<h3 id="orge3c0a2d"><span class="section-number-3">1.56.</span> B</h3>
<div id="outline-container-orgf7c1a9e" class="outline-3">
<h3 id="orgf7c1a9e"><span class="section-number-3">1.56.</span> <a href="https://kernal.eu">kernal</a></h3>
<div class="outline-text-3" id="text-1-56">
<p>
Welcome to the darkest dungeon of kernal<br />
</p>
</div>
<div id="outline-container-org90cfba2" class="outline-4">
<h4 id="org90cfba2"><span class="section-number-4">1.56.1.</span> <a href="https://kernal.eu/posts/linuxfx/">Dumping Linuxfx customers - A Windows-like distro including the spyware and activation</a></h4>
<div class="outline-text-4" id="text-1-56-1">
<p>
哈哈哈笑死了!<br />
</p>
</div>
</div>
</div>
<div id="outline-container-orge3c0a2d" class="outline-3">
<h3 id="orge3c0a2d"><span class="section-number-3">1.57.</span> B</h3>
<div class="outline-text-3" id="text-1-57">
</div>
<div id="outline-container-org2404de6" class="outline-4">
<h4 id="org2404de6"><span class="section-number-4">1.56.1.</span> <a href="https://blog.yangmame.org/">yanemame</a></h4>
<div class="outline-text-4" id="text-1-56-1">
<h4 id="org2404de6"><span class="section-number-4">1.57.1.</span> <a href="https://blog.yangmame.org/">yanemame</a></h4>
<div class="outline-text-4" id="text-1-57-1">
<p>
猴哥推荐的<br />
</p>
</div>
</div>
<div id="outline-container-orga6906e5" class="outline-4">
<h4 id="orga6906e5"><span class="section-number-4">1.56.2.</span> <a href="https://evanmeek.github.io/">我不会编程</a></h4>
<div class="outline-text-4" id="text-1-56-2">
<h4 id="orga6906e5"><span class="section-number-4">1.57.2.</span> <a href="https://evanmeek.github.io/">我不会编程</a></h4>
<div class="outline-text-4" id="text-1-57-2">
<p>
B站: 美味的樱桃菌<br />
</p>
</div>
</div>
<div id="outline-container-orge712024" class="outline-4">
<h4 id="orge712024"><span class="section-number-4">1.56.3.</span> <a href="https://yaocc.cc/">CC</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="linux">linux</span></span></h4>
<div class="outline-text-4" id="text-1-56-3">
<h4 id="orge712024"><span class="section-number-4">1.57.3.</span> <a href="https://yaocc.cc/">CC</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="linux">linux</span></span></h4>
<div class="outline-text-4" id="text-1-57-3">
<p>
B站: 称呼我C先生<br />
</p>
</div>
</div>
<div id="outline-container-orgc05a1c8" class="outline-4">
<h4 id="orgc05a1c8"><span class="section-number-4">1.56.4.</span> <a href="https://www.lunaixsky.com/">lunaixsky</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="c">c</span>&#xa0;<span class="lowlevel">lowlevel</span></span></h4>
<h4 id="orgc05a1c8"><span class="section-number-4">1.57.4.</span> <a href="https://www.lunaixsky.com/">lunaixsky</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="c">c</span>&#xa0;<span class="lowlevel">lowlevel</span></span></h4>
</div>
<div id="outline-container-org8eb95d8" class="outline-4">
<h4 id="org8eb95d8"><span class="section-number-4">1.56.5.</span> <a href="https://endlesspeak.gitee.io/">EndlessPeak</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="linux">linux</span></span></h4>
<h4 id="org8eb95d8"><span class="section-number-4">1.57.5.</span> <a href="https://endlesspeak.gitee.io/">EndlessPeak</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="linux">linux</span></span></h4>
</div>
</div>
<div id="outline-container-orgba66bbd" class="outline-3">
<h3 id="orgba66bbd"><span class="section-number-3">1.57.</span> shenjack/HWS</h3>
<div class="outline-text-3" id="text-1-57">
<h3 id="orgba66bbd"><span class="section-number-3">1.58.</span> shenjack/HWS</h3>
<div class="outline-text-3" id="text-1-58">
</div>
<div id="outline-container-orga5013f3" class="outline-4">
<h4 id="orga5013f3"><span class="section-number-4">1.57.1.</span> <a href="http://www.z.org.cn/">老网虫</a></h4>
<h4 id="orga5013f3"><span class="section-number-4">1.58.1.</span> <a href="http://www.z.org.cn/">老网虫</a></h4>
</div>
<div id="outline-container-orge660108" class="outline-4">
<h4 id="orge660108"><span class="section-number-4">1.57.2.</span> <a href="https://blog.yang-qwq.ml">yang-qwq</a></h4>
<h4 id="orge660108"><span class="section-number-4">1.58.2.</span> <a href="https://blog.yang-qwq.ml">yang-qwq</a></h4>
</div>
<div id="outline-container-orgf6cc30b" class="outline-4">
<h4 id="orgf6cc30b"><span class="section-number-4">1.57.3.</span> <a href="http://blog.zhanganzhi.com/">zhanganzhi</a></h4>
<h4 id="orgf6cc30b"><span class="section-number-4">1.58.3.</span> <a href="http://blog.zhanganzhi.com/">zhanganzhi</a></h4>
</div>
</div>
</div>
@ -746,12 +769,11 @@ and <a href="https://youtu.be/cfPDeso3XwI">register-based(13 episode)</a><br />
<div id="outline-container-orgc36ba08" class="outline-4">
<h4 id="orgc36ba08"><span class="section-number-4">2.1.16.</span> <a href="https://youtu.be/2--1ph-4IaY">shit express hacked</a></h4>
</div>
<div id="outline-container-orgb696162" class="outline-4">
<h4 id="orgb696162"><span class="section-number-4">2.1.17.</span> <a href="https://www.youtube.com/c/PowerCertAnimatedVideos">PowerCert Animated Videos</a></h4>
<div id="outline-container-org781dbb6" class="outline-4">
<h4 id="org781dbb6"><span class="section-number-4">2.1.17.</span> <a href="https://youtu.be/1z0ULvg_pW8">集线器,交换机和路由器的区别</a></h4>
<div class="outline-text-4" id="text-2-1-17">
</div>
<ol class="org-ol">
<li><a id="org781dbb6"></a><a href="https://youtu.be/1z0ULvg_pW8">集线器,交换机和路由器的区别</a><br /></li>
<li><a id="org07fc3a0"></a><a href="https://youtu.be/pCcJFdYNamc">Default Gateway Explained</a><br /></li>
<li><a id="org5c3a65f"></a><a href="https://youtu.be/TIiQiw7fpsU">MAC Address Explained</a><br /></li>
<li><a id="org3fe1c49"></a><a href="https://youtu.be/6_giEv20En0">Subnets vs VLANs</a><br /></li>
@ -794,6 +816,9 @@ math on 1950~1980 computer<br />
</p>
</div>
</div>
<div id="outline-container-org875089c" class="outline-4">
<h4 id="org875089c"><span class="section-number-4">2.2.4.</span> <a href="https://youtu.be/4nG49xTTjIA">The Real Reason Why Negative Times Negative is Positive, Intro to Rings</a></h4>
</div>
</div>
<div id="outline-container-orgcaca7a3" class="outline-3">
@ -980,7 +1005,7 @@ foreign or domestic, requires you to follow Snowden's example.<br />
<div id="postamble" class="status">
<p class="date">Date: 2022-06-05 日 00:00</p>
<p class="author">Author: dongdigua</p>
<p class="date">Created: 2022-09-15 四 12:06</p>
<p class="date">Created: 2022-09-16 五 17:03</p>
</div>
</body>
</html>

282
nixos.html Normal file
View File

@ -0,0 +1,282 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-09-18 日 12:10 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Build a Minimal NixOS LiveCD with swaywm</title>
<meta name="author" content="dongdigua" />
<meta name="generator" content="Org Mode" />
<style>
#content { max-width: 60em; margin: auto; }
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #e6e6e6;
border-radius: 3px;
background-color: #f2f2f2;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: auto;
}
pre.src:before {
display: none;
position: absolute;
top: -8px;
right: 12px;
padding: 3px;
color: #555;
background-color: #f2f2f299;
}
pre.src:hover:before { display: inline; margin-top: 14px;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-authinfo::before { content: 'Authinfo'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
</style>
<link rel='stylesheet' type='text/css' href='css/main.css' />
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./../"> UP </a>
|
<a accesskey="H" href="https://dongdigua.github.io"> HOME </a>
</div><div id="content" class="content">
<h1 class="title">Build a Minimal NixOS LiveCD with swaywm</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org721f8fa">1. problem &amp; solution</a>
<ul>
<li><a href="#org44483e5">1.1. unable to drop root</a></li>
<li><a href="#org88d987a">1.2. in normal user, libseat permission deniened</a></li>
<li><a href="#org5d4223e">1.3. egl error</a></li>
<li><a href="#org0344a05">1.4. config files from outside</a></li>
</ul>
</li>
<li><a href="#org068eea9">2. reference</a>
<ul>
<li><a href="#org7a35299">2.1. nixos without systemd?</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org721f8fa" class="outline-2">
<h2 id="org721f8fa"><span class="section-number-2">1.</span> problem &amp; solution</h2>
<div class="outline-text-2" id="text-1">
</div>
<div id="outline-container-org44483e5" class="outline-3">
<h3 id="org44483e5"><span class="section-number-3">1.1.</span> unable to drop root</h3>
<div class="outline-text-3" id="text-1-1">
<p>
donot run under root<br />
</p>
</div>
</div>
<div id="outline-container-org88d987a" class="outline-3">
<h3 id="org88d987a"><span class="section-number-3">1.2.</span> in normal user, libseat permission deniened</h3>
<div class="outline-text-3" id="text-1-2">
<p>
add user in <code>video</code> group<br />
login as user, not root<br />
</p>
</div>
</div>
<div id="outline-container-org5d4223e" class="outline-3">
<h3 id="org5d4223e"><span class="section-number-3">1.3.</span> egl error</h3>
<div class="outline-text-3" id="text-1-3">
<p>
enable 3D acceleration in VirtualBox<br />
</p>
</div>
</div>
<div id="outline-container-org0344a05" class="outline-3">
<h3 id="org0344a05"><span class="section-number-3">1.4.</span> config files from outside</h3>
<div class="outline-text-3" id="text-1-4">
<div id="org1649d05" class="figure">
<p><img src="../images/irc-nixiso.png" alt="irc-nixiso.png" /> <br />
</p>
</div>
</div>
</div>
</div>
<div id="outline-container-org068eea9" class="outline-2">
<h2 id="org068eea9"><span class="section-number-2">2.</span> reference</h2>
<div class="outline-text-2" id="text-2">
</div>
<div id="outline-container-org7a35299" class="outline-3">
<h3 id="org7a35299"><span class="section-number-3">2.1.</span> <a href="https://sr.ht/~guido/nixos-init-freedom/">nixos without systemd?</a></h3>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="date">Date: 2022-09-17 六 00:00</p>
<p class="author">Author: dongdigua</p>
<p class="date">Created: 2022-09-18 日 12:10</p>
</div>
</body>
</html>

View File

@ -110,8 +110,17 @@ gopher://gopher.lantian.pub
** [[https://ulyc.github.io/][UlyC]] :python:
*** [[https://ulyc.github.io/2022/08/10/sourcehut-the-hackers-forge/][sourcehut, 一个反叛而又正统的代码托管平台]]
*** [[https://ulyc.github.io/2021/01/13/2021年-用更现代的方法使用PGP-上/][2021年, 用更现代的方法使用PGP]]
#+BEGIN_QUOTE
同样是非对称算法,为什么PGP的私钥就长这么多呢
因为他们用的算法不同比特币默认使用的是ECDSA的 secp256k1算法 该算法只是用来签名和认证,并不用来加密
(signify 也只用于签名和认证,所以密钥也比较短)
#+END_QUOTE
**** [[https://spwo.notion.site/GitHub-6b1e1d57f52c4664bff61cadb3f9cb8d][震惊! 竟然有人在 GitHub 上冒充我的身份!]]
*** [[https://ulyc.github.io/2019/08/01/初窥CORB/][Cross-Origin Read Blocking]]
** [[https://kernal.eu][kernal]]
Welcome to the darkest dungeon of kernal
*** [[https://kernal.eu/posts/linuxfx/][Dumping Linuxfx customers - A Windows-like distro including the spyware and activation]]
哈哈哈笑死了!
** B
*** [[https://blog.yangmame.org/][yanemame]]
猴哥推荐的
@ -156,8 +165,7 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]]
*** [[https://www.youtube.com/playlist?list=PL5--8gKSku15NSeLgrZX9hSEnqPTWoSJ0][DT: Privacy & Security]]
*** [[https://youtu.be/Utse8P_L8k0][ArcaOS: Modern OS/2 ]]
*** [[https://youtu.be/2--1ph-4IaY][shit express hacked]]
*** [[https://www.youtube.com/c/PowerCertAnimatedVideos][PowerCert Animated Videos]]
**** [[https://youtu.be/1z0ULvg_pW8][集线器,交换机和路由器的区别]]
*** [[https://youtu.be/1z0ULvg_pW8][集线器,交换机和路由器的区别]]
**** [[https://youtu.be/pCcJFdYNamc][Default Gateway Explained]]
**** [[https://youtu.be/TIiQiw7fpsU][MAC Address Explained]]
**** [[https://youtu.be/6_giEv20En0][Subnets vs VLANs]]
@ -170,6 +178,7 @@ and [[https://youtu.be/cfPDeso3XwI][register-based(13 episode)]]
** Math
*** [[https://youtu.be/KufsL2VgELo][Group Theory]]
*** [[https://youtu.be/3gyHKCDq1YA][p-adic Numbers: 2 ^ 10n]]
*** [[https://youtu.be/4nG49xTTjIA][The Real Reason Why Negative Times Negative is Positive, Intro to Rings]]
** Minecraft
*** [[https://youtu.be/VKydXD6Lr20][Mojang & Minecraft 开始衰落了吗?]]

16
org/nixos.org Normal file
View File

@ -0,0 +1,16 @@
#+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]]
* reference
** [[https://sr.ht/~guido/nixos-init-freedom/][nixos without systemd?]]

View File

@ -3,4 +3,5 @@
* [[https://dongdigua.github.io/plan_for_my_video_site][对我将来的视频网站的一些畅想]]
* Rust wasm 制作 schemetic/litemetica 渲染器
** [[https://github.com/misode/vscode-nbt][a vscode extension]]
* 用 sway 实现[[https://www.bilibili.com/video/BV1TE41147gK][用窗口玩游戏(×)用游戏玩窗口(√)]]的效果

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2022-09-15 四 12:06 -->
<!-- 2022-09-16 五 17:03 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Something About Wayland(swaywm)</title>
@ -322,6 +322,14 @@ mako, a notification daemon<br />
<h4 id="orgb3d1fcc"><span class="section-number-4">1.11.2.</span> <span class="todo TODO">TODO</span> icon theme missing: ?</h4>
</div>
</div>
<div id="outline-container-org088b81e" class="outline-3">
<h3 id="org088b81e"><span class="section-number-3">1.12.</span> <span class="todo TODO">TODO</span> <a href="https://www.reddit.com/r/swaywm/comments/scz5k6/option_create_on_workspace_prev_on_outputnext_on/">Option &#x2013;create on workspace prev<sub>on</sub><sub>output</sub>|next<sub>on</sub><sub>output</sub>?</a></h3>
<div class="outline-text-3" id="text-1-12">
<p>
I LIKE THIS FEATURE!!! WHY REMOVE IT???<br />
</p>
</div>
</div>
</div>
@ -393,7 +401,7 @@ awesome config!<br />
<div id="postamble" class="status">
<p class="date">Date: 2022-08-07 日 00:00</p>
<p class="author">Author: dongdigua</p>
<p class="date">Created: 2022-09-15 四 12:06</p>
<p class="date">Created: 2022-09-16 五 17:03</p>
</div>
</body>
</html>