added Lix
This commit is contained in:
parent
635b4350b3
commit
114a027932
4 changed files with 79 additions and 44 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
# nixos-configuration-contents
|
# nixos-configuration-contents
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
|
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
|
|
@ -40,6 +41,13 @@
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(final: prev: {
|
||||||
|
inherit (prev.lixPackageSets.stable)
|
||||||
|
nixpkgs-review
|
||||||
|
nix-eval-jobs
|
||||||
|
nix-fast-build
|
||||||
|
colmena;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
|
|
|
||||||
57
nixos.html
57
nixos.html
|
|
@ -37,8 +37,7 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify"
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
.pln{color:#1b181b}.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#9e8f9e}.typ{color:#516aec}.lit{color:#a65926}.clo,.opn,.pun{color:#1b181b}.tag{color:#ca402b}.atn{color:#a65926}.atv{color:#159393}.dec{color:#a65926}.var{color:#ca402b}.fun{color:#516aec}pre.prettyprint{background:#f7f3f7;color:#ab9bab;font-family:Menlo,Consolas,"Bitstream Vera Sans Mono","DejaVu Sans Mono",Monaco,monospace;font-size:12px;line-height:1.5;border:1px solid #d8cad8;padding:10px}ol.linenums{margin-top:0;margin-bottom:0}
|
.pln{color:#1b181b}.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#9e8f9e}.typ{color:#516aec}.lit{color:#a65926}.clo,.opn,.pun{color:#1b181b}.tag{color:#ca402b}.atn{color:#a65926}.atv{color:#159393}.dec{color:#a65926}.var{color:#ca402b}.fun{color:#516aec}pre.prettyprint{background:#f7f3f7;color:#ab9bab;font-family:Menlo,Consolas,"Bitstream Vera Sans Mono","DejaVu Sans Mono",Monaco,monospace;font-size:12px;line-height:1.5;border:1px solid #d8cad8;padding:10px}ol.linenums{margin-top:0;margin-bottom:0}
|
||||||
body{min-width:200px;max-width:850px;margin:0 auto;padding:30px;}.chapter-nav{font-size: 10pt;}a:link,a:visited{color:#00f}.codeblock_name,code,pre.prettyprint{font-family:Monaco,"Lucida Console",monospace}body{font-size:14pt}.codeblock_name,.math,.seealso,code{font-size:10pt}.codeblock{page-break-inside:avoid;padding-bottom:15px}.math{text-indent:0}pre.prettyprint{font-size:10pt;padding:10px;border-radius:10px;border:none;white-space:pre-wrap}.codeblock_name{margin-top:1.25em;display:block}a:link{text-decoration:none}a:link:not(.lit):hover{color:#00f;text-decoration:underline}a:link:active{color:red}h4{padding-right:1.25em}h4.noheading{margin-bottom:0}h1{text-align:center}code{padding:2px}pre{-moz-tab-size:4;-o-tab-size:4;tab-size:4}p:not(.notp){margin:0;text-indent:2em}.two-col{list-style-type:none}.two-col li:before{content:'-';padding:5px;margin-right:5px;color:orange;background-color:#fff;display:inline-block}@media print{body{font-size:10pt}pre.prettyprint{font-size:8pt}.seealso{font-size:9pt}.codeblock_name,.math,code{font-size:8pt}.math{text-indent:0}}
|
body{min-width:200px;max-width:780px;margin:0 auto;padding:30px;font-family:Inter,Arial,sans-serif;font-size:1em}pre,code,.codeblock_name{font-family:Iosevka,Consolas,monospace}pre{-moz-tab-size:4;-o-tab-size:4;tab-size:4}pre.prettyprint{color:#ab9bab;font-size:10pt;line-height:1.5;padding:10px;border-radius:10px;white-space:pre-wrap}.prettyprint{background:#1d1f21!important;font-family:Iosevka,Consolas,monospace!important;border:0!important}pre code{padding:0!important;background:transparent!important;border:0!important}.pln{color:#c5c8c6}.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#9e8f9e}.typ,.fun{color:#516aec}.lit,.atn,.dec{color:#a65926}.clo,.opn,.pun{color:#1b181b}.tag,.var{color:#ca402b}.atv{color:#159393}ol.linenums{margin:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1d1f21;list-style-type:decimal}.math{font-size:10pt;text-indent:0}.chapter-nav{font-size:10pt}.codeblock{page-break-inside:avoid;padding-bottom:15px}.codeblock_name{margin-top:1.25em;display:block}.codeblock_name,.seealso{font-size:8pt!important}h4{padding-right:1.25em}h4.noheading{margin-bottom:0}p:not(.notp){margin:0;text-indent:0!important}code{font-size:1em;padding:2px 4px;background:#f7f3f7;border:1px solid #d8cad8;border-radius:4px}blockquote{font-style:italic;border-left:4px solid #969896;background:#f7f3f7;padding:10px 20px;margin:15px 0}.two-col{list-style-type:none}.two-col li:before{content:collapse;content:'-';padding:5px;margin-right:5px;color:orange;background-color:#fff;display:inline-block}a:link,a:visited{color:#00f}a:link{text-decoration:none}a:link:not(.lit):hover{color:#00f;text-decoration:underline}a:link:active{color:red}p:not(.seealso) a::after{content:" (" attr(href) ")";font-size:0.7em}@media screen{.str{color:#b5bd68}.kwd{color:#b294bb}.com{color:#969896}.typ,.fun{color:#81a2be}.lit,.atn,.dec{color:#de935f}.pun,.opn,.clo{color:#c5c8c6}.tag,.var{color:#c66}.atv{color:#8abeb7}}@media print{body{font-size:10pt}pre.prettyprint{font-size:8pt}.seealso{font-size:9pt}.codeblock_name,.math{font-size:8pt}}
|
||||||
body{font-family:Inter,Arial,sans-serif;font-size:1em}.prettyprint{background:#1d1f21!important;font-family:Iosevka,Consolas,monospace!important;border:0!important}.pln{color:#c5c8c6}ol.linenums{margin-top:0;margin-bottom:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1d1f21;list-style-type:decimal}@media screen{.str{color:#b5bd68}.kwd{color:#b294bb}.com{color:#969896}.typ{color:#81a2be}.lit{color:#de935f}.pun{color:#c5c8c6}.opn{color:#c5c8c6}.clo{color:#c5c8c6}.tag{color:#c66}.atn{color:#de935f}.atv{color:#8abeb7}.dec{color:#de935f}.var{color:#c66}.fun{color:#81a2be}}p:not(.notp){text-indent:0!important;}.seealso,.codeblock_name{font-size:8pt!important}blockquote{font-style:italic}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body onload="prettyPrint()">
|
<body onload="prettyPrint()">
|
||||||
|
|
@ -46,25 +45,25 @@ body{font-family:Inter,Arial,sans-serif;font-size:1em}.prettyprint{background:#1
|
||||||
<h1>asnev's NixOS configuration</h1>
|
<h1>asnev's NixOS configuration</h1>
|
||||||
<a name="1:1"><div class="section"><h4>1. table of contents</h4></a>
|
<a name="1:1"><div class="section"><h4>1. table of contents</h4></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#1:1">1. table of contents</a>
|
<li><a href="#1:1">table of contents</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:2">2. introduction</a>
|
<li><a href="#1:2">introduction</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:3">3. limitations</a>
|
<li><a href="#1:3">limitations</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:4">4. flake structure</a>
|
<li><a href="#1:4">flake structure</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:5">5. global NixOS options</a>
|
<li><a href="#1:5">global NixOS options</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:6">6. host configuration: phostron</a>
|
<li><a href="#1:6">host configuration: phostron</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:7">7. desktop configuration: KDE Plasma</a>
|
<li><a href="#1:7">desktop configuration: KDE Plasma</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:8">8. user configuration: coyote</a>
|
<li><a href="#1:8">user configuration: coyote</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:9">9. Home Manager configuration: coyote</a>
|
<li><a href="#1:9">Home Manager configuration: coyote</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#1:10">10. licence</a>
|
<li><a href="#1:10">licence</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><hr>
|
<p><hr>
|
||||||
|
|
@ -87,8 +86,12 @@ though of course, the details don't stop there. the rabbit hole can get really,
|
||||||
<em>breathtakingly comprehensive</em> NixOS configs (literate or otherwise) that are
|
<em>breathtakingly comprehensive</em> NixOS configs (literate or otherwise) that are
|
||||||
out there!<br><br>
|
out there!<br><br>
|
||||||
</p>
|
</p>
|
||||||
<p><a href="https://git.gay/asnev/nixos">you can get the source code here</a>.
|
<p>you can get the source code at my repo <a href="https://git.gay/asnev/nixos">here</a>.
|
||||||
</p>
|
</p>
|
||||||
|
<blockquote><p> the latest version of this document is <a href="https://asnev.neocities.org/nixos.html">hosted on my
|
||||||
|
Neocities</a>.
|
||||||
|
</p>
|
||||||
|
</blockquote>
|
||||||
<p><br><hr>
|
<p><br><hr>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
@ -111,13 +114,15 @@ that it can't provide syntax highlighting in multiple different languages
|
||||||
(you'll see the mixed-up colours later, sorry), and it can't export source code
|
(you'll see the mixed-up colours later, sorry), and it can't export source code
|
||||||
files into files which live within subdirectories. i've resorted to let
|
files into files which live within subdirectories. i've resorted to let
|
||||||
<em>everything</em> reside within one <code>flake.nix</code> file which, while it does make users
|
<em>everything</em> reside within one <code>flake.nix</code> file which, while it does make users
|
||||||
who wish to navigate through the unwomen (uncommented) configuration
|
who wish to navigate through the unwoven (without comments) configuration
|
||||||
expressions quite... annoying (to put it lightly), at least everything is
|
expressions quite... annoying, at least everything is organised when viewed
|
||||||
organised when viewed through the literate source code.<br><br>
|
through the literate source code.<br><br>
|
||||||
</p>
|
</p>
|
||||||
<p>eventually, when i can build up the courage... i'd like to begin my 'journey'
|
<p>eventually, when i can build up the courage... i'd like to begin my 'journey'
|
||||||
with Emacs and utilise Org-mode and Org-babel, a much, <em>much</em> more flexible
|
with Emacs and utilise Org-mode and Org-babel, a much, <em>much</em> more flexible
|
||||||
literate programming environment. <sub>emphasis on 'eventually'...</sub><br><br>
|
literate programming environment.<br>
|
||||||
|
</p>
|
||||||
|
<p><sub>emphasis on 'eventually'...</sub><br><br>
|
||||||
</p>
|
</p>
|
||||||
<p>i don't expect anyone reading this to be wishing to use <em>my</em> specific
|
<p>i don't expect anyone reading this to be wishing to use <em>my</em> specific
|
||||||
configuration for their setup, so i'll skip over instructions for installing
|
configuration for their setup, so i'll skip over instructions for installing
|
||||||
|
|
@ -211,7 +216,7 @@ pattern here...
|
||||||
<p class="seealso">Used in section <a href="nixos.html#1:6">6</a></p>
|
<p class="seealso">Used in section <a href="nixos.html#1:6">6</a></p>
|
||||||
</div>
|
</div>
|
||||||
<p>...then we set Nix-related declarations since we'd like to declare the system
|
<p>...then we set Nix-related declarations since we'd like to declare the system
|
||||||
to use flakes (obviously),
|
to use flakes, and, to utilise <a href="https://lix.systems">Lix</a>,
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
|
|
@ -219,6 +224,7 @@ to use flakes (obviously),
|
||||||
<pre class="prettyprint lang-nix">
|
<pre class="prettyprint lang-nix">
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
|
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -226,7 +232,7 @@ nix.settings.auto-optimise-store = true;
|
||||||
</div>
|
</div>
|
||||||
<p>but also have an overlay of <code>nixpkgs-unstable</code> to be available globally. this
|
<p>but also have an overlay of <code>nixpkgs-unstable</code> to be available globally. this
|
||||||
is so that i can have unstable packages installed in userspaces managed via
|
is so that i can have unstable packages installed in userspaces managed via
|
||||||
Home Manager.
|
Home Manager. plus, some additional tweaks for Lix.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
|
|
@ -240,6 +246,13 @@ nixpkgs.overlays = [
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(final: prev: {
|
||||||
|
inherit (prev.lixPackageSets.stable)
|
||||||
|
nixpkgs-review
|
||||||
|
nix-eval-jobs
|
||||||
|
nix-fast-build
|
||||||
|
colmena;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
@ -379,7 +392,8 @@ programs = {
|
||||||
</div>
|
</div>
|
||||||
<p>nothing much here, starting with a few options to prettify the terminal a bit.
|
<p>nothing much here, starting with a few options to prettify the terminal a bit.
|
||||||
</p>
|
</p>
|
||||||
<blockquote><p> "zsh is bash with plugins; fish is zsh with plugins" --0atman
|
<blockquote><p> "zsh is bash with plugins; fish is zsh with plugins"
|
||||||
|
--<a href="https://youtu.be/rWMQ-g2QDsI?t=117">0atman</a>
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p>yes, the lambda (λ) as a terminal prompt character absolutely counts towards
|
<p>yes, the lambda (λ) as a terminal prompt character absolutely counts towards
|
||||||
|
|
@ -940,7 +954,6 @@ vim.extraConfig = ''
|
||||||
</div>
|
</div>
|
||||||
<p>there's really not much, starting with bog-standard Vimscript for sensible
|
<p>there's really not much, starting with bog-standard Vimscript for sensible
|
||||||
options,
|
options,
|
||||||
😎
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
|
|
@ -983,7 +996,7 @@ set smartcase
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
<p>and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
||||||
😎 (i barely can even code in them),
|
😎 (i barely can even code in them)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="codeblock">
|
<div class="codeblock">
|
||||||
|
|
|
||||||
56
nixos.lit
56
nixos.lit
|
|
@ -1,21 +1,21 @@
|
||||||
@code_type nix .nix
|
@code_type nix .nix
|
||||||
@comment_type # %s
|
@comment_type # %s
|
||||||
@add_css style.css
|
@overwrite_css style.css
|
||||||
|
|
||||||
@title asnev's NixOS configuration
|
@title asnev's NixOS configuration
|
||||||
|
|
||||||
@s table of contents
|
@s table of contents
|
||||||
|
|
||||||
- [1. table of contents](#1:1)
|
- [table of contents](#1:1)
|
||||||
- [2. introduction](#1:2)
|
- [introduction](#1:2)
|
||||||
- [3. limitations](#1:3)
|
- [limitations](#1:3)
|
||||||
- [4. flake structure](#1:4)
|
- [flake structure](#1:4)
|
||||||
- [5. global NixOS options](#1:5)
|
- [global NixOS options](#1:5)
|
||||||
- [6. host configuration: phostron](#1:6)
|
- [host configuration: phostron](#1:6)
|
||||||
- [7. desktop configuration: KDE Plasma](#1:7)
|
- [desktop configuration: KDE Plasma](#1:7)
|
||||||
- [8. user configuration: coyote](#1:8)
|
- [user configuration: coyote](#1:8)
|
||||||
- [9. Home Manager configuration: coyote](#1:9)
|
- [Home Manager configuration: coyote](#1:9)
|
||||||
- [10. licence](#1:10)
|
- [licence](#1:10)
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
@ -36,7 +36,10 @@ though of course, the details don't stop there. the rabbit hole can get really,
|
||||||
*breathtakingly comprehensive* NixOS configs (literate or otherwise) that are
|
*breathtakingly comprehensive* NixOS configs (literate or otherwise) that are
|
||||||
out there!<br><br>
|
out there!<br><br>
|
||||||
|
|
||||||
[you can get the source code here](https://git.gay/asnev/nixos).
|
you can get the source code at my repo [here](https://git.gay/asnev/nixos).
|
||||||
|
|
||||||
|
> the latest version of this document is [hosted on my
|
||||||
|
> Neocities](https://asnev.neocities.org/nixos.html).
|
||||||
|
|
||||||
<br><hr>
|
<br><hr>
|
||||||
|
|
||||||
|
|
@ -59,13 +62,15 @@ that it can't provide syntax highlighting in multiple different languages
|
||||||
(you'll see the mixed-up colours later, sorry), and it can't export source code
|
(you'll see the mixed-up colours later, sorry), and it can't export source code
|
||||||
files into files which live within subdirectories. i've resorted to let
|
files into files which live within subdirectories. i've resorted to let
|
||||||
*everything* reside within one `flake.nix` file which, while it does make users
|
*everything* reside within one `flake.nix` file which, while it does make users
|
||||||
who wish to navigate through the unwomen (uncommented) configuration
|
who wish to navigate through the unwoven (without comments) configuration
|
||||||
expressions quite... annoying (to put it lightly), at least everything is
|
expressions quite... annoying, at least everything is organised when viewed
|
||||||
organised when viewed through the literate source code.<br><br>
|
through the literate source code.<br><br>
|
||||||
|
|
||||||
eventually, when i can build up the courage... i'd like to begin my 'journey'
|
eventually, when i can build up the courage... i'd like to begin my 'journey'
|
||||||
with Emacs and utilise Org-mode and Org-babel, a much, *much* more flexible
|
with Emacs and utilise Org-mode and Org-babel, a much, *much* more flexible
|
||||||
literate programming environment. <sub>emphasis on 'eventually'...</sub><br><br>
|
literate programming environment.<br>
|
||||||
|
|
||||||
|
<sub>emphasis on 'eventually'...</sub><br><br>
|
||||||
|
|
||||||
i don't expect anyone reading this to be wishing to use *my* specific
|
i don't expect anyone reading this to be wishing to use *my* specific
|
||||||
configuration for their setup, so i'll skip over instructions for installing
|
configuration for their setup, so i'll skip over instructions for installing
|
||||||
|
|
@ -139,16 +144,17 @@ pattern here...
|
||||||
---
|
---
|
||||||
|
|
||||||
...then we set Nix-related declarations since we'd like to declare the system
|
...then we set Nix-related declarations since we'd like to declare the system
|
||||||
to use flakes (obviously),
|
to use flakes, and, to utilise [Lix](https://lix.systems),
|
||||||
|
|
||||||
--- nixos-configuration-contents
|
--- nixos-configuration-contents
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
|
nix.package = pkgs.lixPackageSets.stable.lix;
|
||||||
---
|
---
|
||||||
|
|
||||||
but also have an overlay of `nixpkgs-unstable` to be available globally. this
|
but also have an overlay of `nixpkgs-unstable` to be available globally. this
|
||||||
is so that i can have unstable packages installed in userspaces managed via
|
is so that i can have unstable packages installed in userspaces managed via
|
||||||
Home Manager.
|
Home Manager. plus, some additional tweaks for Lix.
|
||||||
|
|
||||||
--- nixos-configuration-contents +=
|
--- nixos-configuration-contents +=
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
@ -159,6 +165,13 @@ nixpkgs.overlays = [
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
(final: prev: {
|
||||||
|
inherit (prev.lixPackageSets.stable)
|
||||||
|
nixpkgs-review
|
||||||
|
nix-eval-jobs
|
||||||
|
nix-fast-build
|
||||||
|
colmena;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -253,7 +266,8 @@ programs = {
|
||||||
|
|
||||||
nothing much here, starting with a few options to prettify the terminal a bit.
|
nothing much here, starting with a few options to prettify the terminal a bit.
|
||||||
|
|
||||||
> "zsh is bash with plugins; fish is zsh with plugins" --0atman
|
> "zsh is bash with plugins; fish is zsh with plugins"
|
||||||
|
> --[0atman](https://youtu.be/rWMQ-g2QDsI?t=117)
|
||||||
|
|
||||||
yes, the lambda (λ) as a terminal prompt character absolutely counts towards
|
yes, the lambda (λ) as a terminal prompt character absolutely counts towards
|
||||||
style points. (joke)
|
style points. (joke)
|
||||||
|
|
@ -652,7 +666,7 @@ vim.extraConfig = ''
|
||||||
|
|
||||||
there's really not much, starting with bog-standard Vimscript for sensible
|
there's really not much, starting with bog-standard Vimscript for sensible
|
||||||
options,
|
options,
|
||||||
😎
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc
|
--- coyote-home-manager-programs-vim-vimrc
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
@ -688,7 +702,7 @@ set smartcase
|
||||||
---
|
---
|
||||||
|
|
||||||
and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
and you gotta map a keybind to output lambda to live out that Lisp/Scheme vibe
|
||||||
😎 (i barely can even code in them),
|
😎 (i barely can even code in them)
|
||||||
|
|
||||||
--- coyote-home-manager-programs-vim-vimrc +=
|
--- coyote-home-manager-programs-vim-vimrc +=
|
||||||
inoremap <C-l> λ
|
inoremap <C-l> λ
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
body{font-family:Inter,Arial,sans-serif;font-size:1em}.prettyprint{background:#1d1f21!important;font-family:Iosevka,Consolas,monospace!important;border:0!important}.pln{color:#c5c8c6}ol.linenums{margin-top:0;margin-bottom:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1d1f21;list-style-type:decimal}@media screen{.str{color:#b5bd68}.kwd{color:#b294bb}.com{color:#969896}.typ{color:#81a2be}.lit{color:#de935f}.pun{color:#c5c8c6}.opn{color:#c5c8c6}.clo{color:#c5c8c6}.tag{color:#c66}.atn{color:#de935f}.atv{color:#8abeb7}.dec{color:#de935f}.var{color:#c66}.fun{color:#81a2be}}p:not(.notp){text-indent:0!important;}.seealso,.codeblock_name{font-size:8pt!important}blockquote{font-style:italic}
|
body{min-width:200px;max-width:780px;margin:0 auto;padding:30px;font-family:Inter,Arial,sans-serif;font-size:1em}pre,code,.codeblock_name{font-family:Iosevka,Consolas,monospace}pre{-moz-tab-size:4;-o-tab-size:4;tab-size:4}pre.prettyprint{color:#ab9bab;font-size:10pt;line-height:1.5;padding:10px;border-radius:10px;white-space:pre-wrap}.prettyprint{background:#1d1f21!important;font-family:Iosevka,Consolas,monospace!important;border:0!important}pre code{padding:0!important;background:transparent!important;border:0!important}.pln{color:#c5c8c6}.str{color:#918b3b}.kwd{color:#7b59c0}.com{color:#9e8f9e}.typ,.fun{color:#516aec}.lit,.atn,.dec{color:#a65926}.clo,.opn,.pun{color:#1b181b}.tag,.var{color:#ca402b}.atv{color:#159393}ol.linenums{margin:0;color:#969896}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#1d1f21;list-style-type:decimal}.math{font-size:10pt;text-indent:0}.chapter-nav{font-size:10pt}.codeblock{page-break-inside:avoid;padding-bottom:15px}.codeblock_name{margin-top:1.25em;display:block}.codeblock_name,.seealso{font-size:8pt!important}h4{padding-right:1.25em}h4.noheading{margin-bottom:0}p:not(.notp){margin:0;text-indent:0!important}code{font-size:1em;padding:2px 4px;background:#f7f3f7;border:1px solid #d8cad8;border-radius:4px}blockquote{font-style:italic;border-left:4px solid #969896;background:#f7f3f7;padding:10px 20px;margin:15px 0}.two-col{list-style-type:none}.two-col li:before{content:collapse;content:'-';padding:5px;margin-right:5px;color:orange;background-color:#fff;display:inline-block}a:link,a:visited{color:#00f}a:link{text-decoration:none}a:link:not(.lit):hover{color:#00f;text-decoration:underline}a:link:active{color:red}p:not(.seealso) a::after{content:" (" attr(href) ")";font-size:0.7em}@media screen{.str{color:#b5bd68}.kwd{color:#b294bb}.com{color:#969896}.typ,.fun{color:#81a2be}.lit,.atn,.dec{color:#de935f}.pun,.opn,.clo{color:#c5c8c6}.tag,.var{color:#c66}.atv{color:#8abeb7}}@media print{body{font-size:10pt}pre.prettyprint{font-size:8pt}.seealso{font-size:9pt}.codeblock_name,.math{font-size:8pt}}
|
||||||
|
|
|
||||||
Reference in a new issue