Working on xdg portals
This commit is contained in:
+236
-234
@@ -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>
|
||||
<!-- 2026-02-22 zo 21:36 -->
|
||||
<!-- 2026-02-22 zo 21:43 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>‎</title>
|
||||
@@ -200,119 +200,119 @@
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents" role="doc-toc">
|
||||
<ul>
|
||||
<li><a href="#org9546376">1. Introduction</a></li>
|
||||
<li><a href="#org697d45c">2. Pre-requisites to edit this setup</a></li>
|
||||
<li><a href="#org1214394">3. machine1 — template machine</a></li>
|
||||
<li><a href="#org6b381e2">4. <code>flake.lock</code> for pinning input versions.</a></li>
|
||||
<li><a href="#org274acd3">5. <code>assets/*</code> for non-Nix-managed artifacts such as images and wallpapers.</a>
|
||||
<li><a href="#orgb2a0ba5">1. Introduction</a></li>
|
||||
<li><a href="#org10b017d">2. Pre-requisites to edit this setup</a></li>
|
||||
<li><a href="#org472ce06">3. machine1 — template machine</a></li>
|
||||
<li><a href="#org82c7096">4. <code>flake.lock</code> for pinning input versions.</a></li>
|
||||
<li><a href="#org1368a06">5. <code>assets/*</code> for non-Nix-managed artifacts such as images and wallpapers.</a>
|
||||
<ul>
|
||||
<li><a href="#orgd2e8092">5.1. Emacs + Org + Tangle</a></li>
|
||||
<li><a href="#org5ec848c">5.1. Emacs + Org + Tangle</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org42a296f">6. [Emacs](https://www.gnu.org/software/emacs/][Emacs) is used as the editor and execution environment for this literate configuration.</a></li>
|
||||
<li><a href="#org3b33851">7. [Org](https://orgmode.org/][Org) mode provides the document structure and the source block execution model used here.</a></li>
|
||||
<li><a href="#orgf8aa21b">8. Tangling exports source blocks from this Org document into the corresponding configuration files.</a>
|
||||
<li><a href="#orgfbb09ea">6. [Emacs](https://www.gnu.org/software/emacs/][Emacs) is used as the editor and execution environment for this literate configuration.</a></li>
|
||||
<li><a href="#orgabfd6a3">7. [Org](https://orgmode.org/][Org) mode provides the document structure and the source block execution model used here.</a></li>
|
||||
<li><a href="#org3938ba4">8. Tangling exports source blocks from this Org document into the corresponding configuration files.</a>
|
||||
<ul>
|
||||
<li><a href="#org9a30a94">8.1. Nix & NixOS</a></li>
|
||||
<li><a href="#orgf0eaeb9">8.1. Nix & NixOS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org38afd4e">9. [Nix](https://nix.dev/][Nix) is used to define packages, environments, and configuration as pure expressions.</a></li>
|
||||
<li><a href="#org116b116">10. [NixOS](https://nixos.org/][NixOS) evaluates Nix expressions into a complete system configuration that can be applied by rebuild operations.</a>
|
||||
<li><a href="#org3bb7626">9. [Nix](https://nix.dev/][Nix) is used to define packages, environments, and configuration as pure expressions.</a></li>
|
||||
<li><a href="#orga199f76">10. [NixOS](https://nixos.org/][NixOS) evaluates Nix expressions into a complete system configuration that can be applied by rebuild operations.</a>
|
||||
<ul>
|
||||
<li><a href="#orgd322339">10.1. Repository layout and folder conventions</a></li>
|
||||
<li><a href="#org3de5313">10.2. Shared domain folders</a></li>
|
||||
<li><a href="#org79bc507">10.3. Full tree (including unchanged parts)</a></li>
|
||||
<li><a href="#orgf3c55c3">10.4. Notes</a></li>
|
||||
<li><a href="#org61f7428">10.1. Repository layout and folder conventions</a></li>
|
||||
<li><a href="#org732f3e4">10.2. Shared domain folders</a></li>
|
||||
<li><a href="#orga68e06e">10.3. Full tree (including unchanged parts)</a></li>
|
||||
<li><a href="#org5d71a25">10.4. Notes</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb7899a0">11. TLDR App List</a></li>
|
||||
<li><a href="#orge1cff0b">12. Configuration Variables</a></li>
|
||||
<li><a href="#org3654bfe">13. Flake Inputs</a></li>
|
||||
<li><a href="#orga2f7e1e">14. Flake Output</a>
|
||||
<li><a href="#org73f4690">11. TLDR App List</a></li>
|
||||
<li><a href="#orga4e0cb6">12. Configuration Variables</a></li>
|
||||
<li><a href="#org9a69af1">13. Flake Inputs</a></li>
|
||||
<li><a href="#org95c3529">14. Flake Output</a>
|
||||
<ul>
|
||||
<li><a href="#org48f7d3d">14.1. Envrc + Direnv</a></li>
|
||||
<li><a href="#orgd5c4ba2">14.1. Envrc + Direnv</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0469755">15. Machines</a>
|
||||
<li><a href="#org85a993c">15. Machines</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#org1eb68d8">15.0.1. Other Utils</a></li>
|
||||
<li><a href="#orgf2cd157">15.0.1. Other Utils</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org633a994">16. Hardware</a></li>
|
||||
<li><a href="#org32d37d1">17. Configuration</a>
|
||||
<li><a href="#orga609181">16. Hardware</a></li>
|
||||
<li><a href="#orgb24bb77">17. Configuration</a>
|
||||
<ul>
|
||||
<li><a href="#orgd694db7">17.1. Apps section</a></li>
|
||||
<li><a href="#orgf4778a8">17.2. install<sub>packages.nix</sub></a></li>
|
||||
<li><a href="#orga9cccfb">17.3. install<sub>flatpaks.nix</sub></a></li>
|
||||
<li><a href="#orgfb951dd">17.4. Nix Settings</a></li>
|
||||
<li><a href="#org30d9a04">17.5. Boot</a></li>
|
||||
<li><a href="#org1705241">17.6. Login</a></li>
|
||||
<li><a href="#orga7a4f0e">17.7. Tuigreet</a></li>
|
||||
<li><a href="#org5aba478">17.8. LightDM</a></li>
|
||||
<li><a href="#org901400e">17.9. Terminal (default system)</a></li>
|
||||
<li><a href="#orgd06730f">17.10. Files</a></li>
|
||||
<li><a href="#org332b01f">17.11. Locale</a></li>
|
||||
<li><a href="#org8d33938">17.12. Networking</a></li>
|
||||
<li><a href="#org2ea5fa1">17.13. Hyprland</a></li>
|
||||
<li><a href="#org92fc3c1">17.14. Services</a></li>
|
||||
<li><a href="#org89fcaaa">17.15. Audio</a></li>
|
||||
<li><a href="#org87caae9">17.16. Miscellaneous Packages and Programs</a></li>
|
||||
<li><a href="#org84aff04">17.17. Fonts</a></li>
|
||||
<li><a href="#org457b649">17.18. User Config</a></li>
|
||||
<li><a href="#orga697833">17.1. Apps section</a></li>
|
||||
<li><a href="#orga759628">17.2. install<sub>packages.nix</sub></a></li>
|
||||
<li><a href="#org97aa439">17.3. install<sub>flatpaks.nix</sub></a></li>
|
||||
<li><a href="#org06f08ce">17.4. Nix Settings</a></li>
|
||||
<li><a href="#org665cab1">17.5. Boot</a></li>
|
||||
<li><a href="#org4ea341f">17.6. Login</a></li>
|
||||
<li><a href="#org571f2b5">17.7. Tuigreet</a></li>
|
||||
<li><a href="#orgd7aa1ce">17.8. LightDM</a></li>
|
||||
<li><a href="#orgafa460c">17.9. Terminal (default system)</a></li>
|
||||
<li><a href="#orgc5dce59">17.10. Files</a></li>
|
||||
<li><a href="#org105d167">17.11. Locale</a></li>
|
||||
<li><a href="#org9771a2c">17.12. Networking</a></li>
|
||||
<li><a href="#org52fa255">17.13. Hyprland</a></li>
|
||||
<li><a href="#org1b291e7">17.14. Services</a></li>
|
||||
<li><a href="#org94cf8ee">17.15. Audio</a></li>
|
||||
<li><a href="#org0880e78">17.16. Miscellaneous Packages and Programs</a></li>
|
||||
<li><a href="#org0be3b3b">17.17. Fonts</a></li>
|
||||
<li><a href="#org59c3d76">17.18. User Config</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org812ca5b">18. Home</a>
|
||||
<li><a href="#org5cb42d5">18. Home</a>
|
||||
<ul>
|
||||
<li><a href="#org3109f74">18.1. default.nix</a></li>
|
||||
<li><a href="#orgb8e6927">18.2. Wallpaper</a></li>
|
||||
<li><a href="#orge6c1007">18.3. Waybar</a></li>
|
||||
<li><a href="#org172cf35">18.4. Lock Screen</a></li>
|
||||
<li><a href="#orga56d6bf">18.5. Idle Screen</a></li>
|
||||
<li><a href="#org5b23797">18.6. Hyprshell</a></li>
|
||||
<li><a href="#org39c5d58">18.7. Hyprland</a></li>
|
||||
<li><a href="#org5a92104">18.8. Walker</a></li>
|
||||
<li><a href="#org49aa1f1">18.9. Theme</a></li>
|
||||
<li><a href="#org304e105">18.10. Default-apps</a></li>
|
||||
<li><a href="#org06925aa">18.11. Hyperexpo</a></li>
|
||||
<li><a href="#orgcf6b48a">18.12. Alacritty</a></li>
|
||||
<li><a href="#org240abd6">18.13. Dev Tools</a></li>
|
||||
<li><a href="#org4d0ebf9">18.14. Kitty</a></li>
|
||||
<li><a href="#orgbfc7c1d">18.15. Shells</a></li>
|
||||
<li><a href="#org9990414">18.16. Zsh</a></li>
|
||||
<li><a href="#org936cf46">18.17. Starship</a></li>
|
||||
<li><a href="#org4c5eefa">18.18. Other Settings</a>
|
||||
<li><a href="#org64a050f">18.1. default.nix</a></li>
|
||||
<li><a href="#org40592c8">18.2. Wallpaper</a></li>
|
||||
<li><a href="#orgb80b5a0">18.3. Waybar</a></li>
|
||||
<li><a href="#org6ff492c">18.4. Lock Screen</a></li>
|
||||
<li><a href="#orgd62b72c">18.5. Idle Screen</a></li>
|
||||
<li><a href="#orgfb07332">18.6. Hyprshell</a></li>
|
||||
<li><a href="#orgf243bd8">18.7. Hyprland</a></li>
|
||||
<li><a href="#org4d23efe">18.8. Walker</a></li>
|
||||
<li><a href="#orgae9de88">18.9. Theme</a></li>
|
||||
<li><a href="#org656044b">18.10. Default-apps</a></li>
|
||||
<li><a href="#orge4752bb">18.11. Hyperexpo</a></li>
|
||||
<li><a href="#org69661e1">18.12. Alacritty</a></li>
|
||||
<li><a href="#orgfb49aa3">18.13. Dev Tools</a></li>
|
||||
<li><a href="#org9fe634b">18.14. Kitty</a></li>
|
||||
<li><a href="#orgb5bba99">18.15. Shells</a></li>
|
||||
<li><a href="#org9a64938">18.16. Zsh</a></li>
|
||||
<li><a href="#org9327fa8">18.17. Starship</a></li>
|
||||
<li><a href="#org5109e66">18.18. Other Settings</a>
|
||||
<ul>
|
||||
<li><a href="#org391ecc6">18.18.1. Home User</a></li>
|
||||
<li><a href="#org059df7c">18.18.1. Home User</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb285870">19. Emacs</a>
|
||||
<li><a href="#org01ba22d">19. Emacs</a>
|
||||
<ul>
|
||||
<li><a href="#orgde7463d">19.1. Early Initialization</a></li>
|
||||
<li><a href="#org2251976">19.2. Initialization</a></li>
|
||||
<li><a href="#org5d1980d">19.1. Early Initialization</a></li>
|
||||
<li><a href="#org38ec2a4">19.2. Initialization</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org18c958e">20. Machines</a>
|
||||
<li><a href="#orgaf283dc">20. Machines</a>
|
||||
<ul>
|
||||
<li><a href="#org939edc0">20.1. Traveldroid</a>
|
||||
<li><a href="#org52a2ba0">20.1. Traveldroid</a>
|
||||
<ul>
|
||||
<li><a href="#org22066e4">20.1.1. System Level</a></li>
|
||||
<li><a href="#org41d4d50">20.1.2. Hardware</a></li>
|
||||
<li><a href="#orgdfd4f27">20.1.3. Home</a></li>
|
||||
<li><a href="#orgf867a71">20.1.1. System Level</a></li>
|
||||
<li><a href="#org37bf028">20.1.2. Hardware</a></li>
|
||||
<li><a href="#orgc1151a9">20.1.3. Home</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org14384a8">21. README Utils</a>
|
||||
<li><a href="#org023d916">21. README Utils</a>
|
||||
<ul>
|
||||
<li>
|
||||
<ul>
|
||||
<li><a href="#org0a8994a">21.0.1. Headers</a></li>
|
||||
<li><a href="#orgb596328">21.0.1. Headers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -348,8 +348,8 @@ gf#+OPTIONS: toc:nil broken-links:t
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org9546376" class="outline-2">
|
||||
<h2 id="org9546376"><span class="section-number-2">1.</span> Introduction</h2>
|
||||
<div id="outline-container-orgb2a0ba5" class="outline-2">
|
||||
<h2 id="orgb2a0ba5"><span class="section-number-2">1.</span> Introduction</h2>
|
||||
<div class="outline-text-2" id="text-1">
|
||||
<div align="center"><img src="./.github/images/need to create screenshot.png" width="100%" alt="Screenshot" /></div>
|
||||
|
||||
@@ -375,8 +375,8 @@ Before proceeding with installation, it is strongly recommended to read this doc
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org697d45c" class="outline-2">
|
||||
<h2 id="org697d45c"><span class="section-number-2">2.</span> Pre-requisites to edit this setup</h2>
|
||||
<div id="outline-container-org10b017d" class="outline-2">
|
||||
<h2 id="org10b017d"><span class="section-number-2">2.</span> Pre-requisites to edit this setup</h2>
|
||||
<div class="outline-text-2" id="text-2">
|
||||
<ul class="org-ul">
|
||||
<li>a NIXOS system installed (can be bare-bones)</li>
|
||||
@@ -405,8 +405,8 @@ nmcli device status
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org1214394" class="outline-2">
|
||||
<h2 id="org1214394"><span class="section-number-2">3.</span> machine1 — template machine</h2>
|
||||
<div id="outline-container-org472ce06" class="outline-2">
|
||||
<h2 id="org472ce06"><span class="section-number-2">3.</span> machine1 — template machine</h2>
|
||||
<div class="outline-text-2" id="text-3">
|
||||
<p>
|
||||
To generate the Nix files:
|
||||
@@ -463,46 +463,46 @@ Other files in this repo include:
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org6b381e2" class="outline-2">
|
||||
<h2 id="org6b381e2"><span class="section-number-2">4.</span> <code>flake.lock</code> for pinning input versions.</h2>
|
||||
<div id="outline-container-org82c7096" class="outline-2">
|
||||
<h2 id="org82c7096"><span class="section-number-2">4.</span> <code>flake.lock</code> for pinning input versions.</h2>
|
||||
</div>
|
||||
<div id="outline-container-org274acd3" class="outline-2">
|
||||
<h2 id="org274acd3"><span class="section-number-2">5.</span> <code>assets/*</code> for non-Nix-managed artifacts such as images and wallpapers.</h2>
|
||||
<div id="outline-container-org1368a06" class="outline-2">
|
||||
<h2 id="org1368a06"><span class="section-number-2">5.</span> <code>assets/*</code> for non-Nix-managed artifacts such as images and wallpapers.</h2>
|
||||
<div class="outline-text-2" id="text-5">
|
||||
<p>
|
||||
Generated outputs should not be edited directly. A CI workflow can tangle and commit generated outputs when they differ.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-orgd2e8092" class="outline-3">
|
||||
<h3 id="orgd2e8092"><span class="section-number-3">5.1.</span> Emacs + Org + Tangle</h3>
|
||||
<div id="outline-container-org5ec848c" class="outline-3">
|
||||
<h3 id="org5ec848c"><span class="section-number-3">5.1.</span> Emacs + Org + Tangle</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org42a296f" class="outline-2">
|
||||
<h2 id="org42a296f"><span class="section-number-2">6.</span> [<a href="https://www.gnu.org/software/emacs/">Emacs](https://www.gnu.org/software/emacs/][Emacs)</a> is used as the editor and execution environment for this literate configuration.</h2>
|
||||
<div id="outline-container-orgfbb09ea" class="outline-2">
|
||||
<h2 id="orgfbb09ea"><span class="section-number-2">6.</span> [<a href="https://www.gnu.org/software/emacs/">Emacs](https://www.gnu.org/software/emacs/][Emacs)</a> is used as the editor and execution environment for this literate configuration.</h2>
|
||||
</div>
|
||||
<div id="outline-container-org3b33851" class="outline-2">
|
||||
<h2 id="org3b33851"><span class="section-number-2">7.</span> [<a href="https://orgmode.org/">Org](https://orgmode.org/][Org) mode</a> provides the document structure and the source block execution model used here.</h2>
|
||||
<div id="outline-container-orgabfd6a3" class="outline-2">
|
||||
<h2 id="orgabfd6a3"><span class="section-number-2">7.</span> [<a href="https://orgmode.org/">Org](https://orgmode.org/][Org) mode</a> provides the document structure and the source block execution model used here.</h2>
|
||||
</div>
|
||||
<div id="outline-container-orgf8aa21b" class="outline-2">
|
||||
<h2 id="orgf8aa21b"><span class="section-number-2">8.</span> Tangling exports source blocks from this Org document into the corresponding configuration files.</h2>
|
||||
<div id="outline-container-org3938ba4" class="outline-2">
|
||||
<h2 id="org3938ba4"><span class="section-number-2">8.</span> Tangling exports source blocks from this Org document into the corresponding configuration files.</h2>
|
||||
<div class="outline-text-2" id="text-8">
|
||||
<ul class="org-ul">
|
||||
<li>References of the form <code><<code-id>></code> are noweb placeholders that are expanded from other blocks during tangling.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="outline-container-org9a30a94" class="outline-3">
|
||||
<h3 id="org9a30a94"><span class="section-number-3">8.1.</span> Nix & NixOS</h3>
|
||||
<div id="outline-container-orgf0eaeb9" class="outline-3">
|
||||
<h3 id="orgf0eaeb9"><span class="section-number-3">8.1.</span> Nix & NixOS</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org38afd4e" class="outline-2">
|
||||
<h2 id="org38afd4e"><span class="section-number-2">9.</span> [<a href="https://nix.dev/">Nix](https://nix.dev/][Nix)</a> is used to define packages, environments, and configuration as pure expressions.</h2>
|
||||
<div id="outline-container-org3bb7626" class="outline-2">
|
||||
<h2 id="org3bb7626"><span class="section-number-2">9.</span> [<a href="https://nix.dev/">Nix](https://nix.dev/][Nix)</a> is used to define packages, environments, and configuration as pure expressions.</h2>
|
||||
</div>
|
||||
<div id="outline-container-org116b116" class="outline-2">
|
||||
<h2 id="org116b116"><span class="section-number-2">10.</span> [<a href="https://nixos.org/">NixOS](https://nixos.org/][NixOS)</a> evaluates Nix expressions into a complete system configuration that can be applied by rebuild operations.</h2>
|
||||
<div id="outline-container-orga199f76" class="outline-2">
|
||||
<h2 id="orga199f76"><span class="section-number-2">10.</span> [<a href="https://nixos.org/">NixOS](https://nixos.org/][NixOS)</a> evaluates Nix expressions into a complete system configuration that can be applied by rebuild operations.</h2>
|
||||
<div class="outline-text-2" id="text-10">
|
||||
</div>
|
||||
<div id="outline-container-orgd322339" class="outline-3">
|
||||
<h3 id="orgd322339"><span class="section-number-3">10.1.</span> Repository layout and folder conventions</h3>
|
||||
<div id="outline-container-org61f7428" class="outline-3">
|
||||
<h3 id="org61f7428"><span class="section-number-3">10.1.</span> Repository layout and folder conventions</h3>
|
||||
<div class="outline-text-3" id="text-10-1">
|
||||
<p>
|
||||
This repository contains system modules, user modules, and configuration fragments. The following directories are treated as separate layers:
|
||||
@@ -513,8 +513,8 @@ To keep navigation consistent, the same internal substructure is used in all thr
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3de5313" class="outline-3">
|
||||
<h3 id="org3de5313"><span class="section-number-3">10.2.</span> Shared domain folders</h3>
|
||||
<div id="outline-container-org732f3e4" class="outline-3">
|
||||
<h3 id="org732f3e4"><span class="section-number-3">10.2.</span> Shared domain folders</h3>
|
||||
<div class="outline-text-3" id="text-10-2">
|
||||
<ul>
|
||||
<li><code>core/</code> – base settings and common infrastructure</li>
|
||||
@@ -526,8 +526,8 @@ To keep navigation consistent, the same internal substructure is used in all thr
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org79bc507" class="outline-3">
|
||||
<h3 id="org79bc507"><span class="section-number-3">10.3.</span> Full tree (including unchanged parts)</h3>
|
||||
<div id="outline-container-orga68e06e" class="outline-3">
|
||||
<h3 id="orga68e06e"><span class="section-number-3">10.3.</span> Full tree (including unchanged parts)</h3>
|
||||
<div class="outline-text-3" id="text-10-3">
|
||||
<p>
|
||||
The tree below shows the full repository layout, with the standardized internal structure applied only inside
|
||||
@@ -643,8 +643,8 @@ The tree below shows the full repository layout, with the standardized internal
|
||||
</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf3c55c3" class="outline-3">
|
||||
<h3 id="orgf3c55c3"><span class="section-number-3">10.4.</span> Notes</h3>
|
||||
<div id="outline-container-org5d71a25" class="outline-3">
|
||||
<h3 id="org5d71a25"><span class="section-number-3">10.4.</span> Notes</h3>
|
||||
<div class="outline-text-3" id="text-10-4">
|
||||
<ul>
|
||||
<li>Only the internal layout of <code>configuration/</code>, <code>home/</code>, and <code>assets/conf/</code> is standardized; all other paths remain as currently organized.</li>
|
||||
@@ -675,8 +675,8 @@ This prevents unwanted and surprise updates when rebuilding without changing the
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb7899a0" class="outline-2">
|
||||
<h2 id="orgb7899a0"><span class="section-number-2">11.</span> TLDR App List</h2>
|
||||
<div id="outline-container-org73f4690" class="outline-2">
|
||||
<h2 id="org73f4690"><span class="section-number-2">11.</span> TLDR App List</h2>
|
||||
<div class="outline-text-2" id="text-11">
|
||||
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||
|
||||
@@ -755,8 +755,8 @@ This prevents unwanted and surprise updates when rebuilding without changing the
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge1cff0b" class="outline-2">
|
||||
<h2 id="orge1cff0b"><span class="section-number-2">12.</span> Configuration Variables</h2>
|
||||
<div id="outline-container-orga4e0cb6" class="outline-2">
|
||||
<h2 id="orga4e0cb6"><span class="section-number-2">12.</span> Configuration Variables</h2>
|
||||
<div class="outline-text-2" id="text-12">
|
||||
<p>
|
||||
I have a bunch of constant strings that I would rather put in a file. Thats what <code>user.nix</code> is.
|
||||
@@ -773,8 +773,8 @@ The values are imported at the beginning and are available to almost all the fun
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org3654bfe" class="outline-2">
|
||||
<h2 id="org3654bfe"><span class="section-number-2">13.</span> Flake Inputs</h2>
|
||||
<div id="outline-container-org9a69af1" class="outline-2">
|
||||
<h2 id="org9a69af1"><span class="section-number-2">13.</span> Flake Inputs</h2>
|
||||
<div class="outline-text-2" id="text-13">
|
||||
<p>
|
||||
The inputs for my system's configuration are very simple
|
||||
@@ -811,8 +811,8 @@ Sometimes pinned to a specific commit because unstable broke something and the f
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga2f7e1e" class="outline-2">
|
||||
<h2 id="orga2f7e1e"><span class="section-number-2">14.</span> Flake Output</h2>
|
||||
<div id="outline-container-org95c3529" class="outline-2">
|
||||
<h2 id="org95c3529"><span class="section-number-2">14.</span> Flake Output</h2>
|
||||
<div class="outline-text-2" id="text-14">
|
||||
<p>
|
||||
Now that the inputs are ready, the outputs define what the system will actually look like. I also define the machines that this configuration specifies early on. Finally, I iterate over the <code>machines</code> list and pull files from <code>/.machines/${name}</code> subdirectory. This allows me to have configuration that has machine specific configuration limited to those files while also keeping a modular reusable base.
|
||||
@@ -820,7 +820,7 @@ We also add a devshell that makes editing this repository easier in emacs.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgbddb87a">outputs = inputs@{
|
||||
<pre class="src src-nix" id="orge201182">outputs = inputs@{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
emacs-overlay,
|
||||
@@ -881,7 +881,7 @@ Overlays are a special nix way to override existing packages within a repository
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="org4c732cb">({ ... }: {
|
||||
<pre class="src src-nix" id="org55b2814">({ ... }: {
|
||||
nixpkgs.overlays = [ emacs-overlay.overlays.default ];
|
||||
})
|
||||
</pre>
|
||||
@@ -891,7 +891,7 @@ Overlays are a special nix way to override existing packages within a repository
|
||||
Then the machine specific configuration, in this case, just "traveldroid".
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgd93cd55">./machines/${machine}/configuration.nix
|
||||
<pre class="src src-nix" id="org7ab5e63">./machines/${machine}/configuration.nix
|
||||
</pre>
|
||||
</div></li>
|
||||
|
||||
@@ -901,7 +901,7 @@ This can be initialized and managed on its own but I'd rather use the <code>nixo
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgc59fcdb">home-manager.nixosModules.home-manager
|
||||
<pre class="src src-nix" id="orgbc96705">home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
@@ -944,8 +944,8 @@ Finally I pull in the machine specific home configuration. Along with the overri
|
||||
</div></li>
|
||||
</ol>
|
||||
</div>
|
||||
<div id="outline-container-org48f7d3d" class="outline-3">
|
||||
<h3 id="org48f7d3d"><span class="section-number-3">14.1.</span> Envrc + Direnv</h3>
|
||||
<div id="outline-container-orgd5c4ba2" class="outline-3">
|
||||
<h3 id="orgd5c4ba2"><span class="section-number-3">14.1.</span> Envrc + Direnv</h3>
|
||||
<div class="outline-text-3" id="text-14-1">
|
||||
<p>
|
||||
Editing this file will be much nicer if we have the dev environment configured.
|
||||
@@ -966,14 +966,14 @@ fi
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org0469755" class="outline-2">
|
||||
<h2 id="org0469755"><span class="section-number-2">15.</span> Machines</h2>
|
||||
<div id="outline-container-org85a993c" class="outline-2">
|
||||
<h2 id="org85a993c"><span class="section-number-2">15.</span> Machines</h2>
|
||||
<div class="outline-text-2" id="text-15">
|
||||
<p>
|
||||
The individual machines subdirectory is configured as follows :-
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-ditaa" id="org10f57b3">+--machine
|
||||
<pre class="src src-ditaa" id="org6b70237">+--machine
|
||||
| +--configuration.nix
|
||||
| +--home.nix
|
||||
| +--hardware-configuration.nix
|
||||
@@ -994,12 +994,12 @@ This imported object (or function result) is just trivially merged into a common
|
||||
We can take a look at that the common hardware options I have for all my machines.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org1eb68d8" class="outline-4">
|
||||
<h4 id="org1eb68d8"><span class="section-number-4">15.0.1.</span> Other Utils</h4>
|
||||
<div id="outline-container-orgf2cd157" class="outline-4">
|
||||
<h4 id="orgf2cd157"><span class="section-number-4">15.0.1.</span> Other Utils</h4>
|
||||
<div class="outline-text-4" id="text-15-0-1">
|
||||
</div>
|
||||
<ol class="org-ol">
|
||||
<li><a id="org319c0be"></a>Updates<br />
|
||||
<li><a id="org1b1d933"></a>Updates<br />
|
||||
<div class="outline-text-5" id="text-15-0-1-1">
|
||||
<p>
|
||||
To update the computer, I just need to update the <code>flake.lock</code> file to have references to the latest repository. This is done with :-
|
||||
@@ -1013,8 +1013,8 @@ To update the computer, I just need to update the <code>flake.lock</code> file t
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org633a994" class="outline-2">
|
||||
<h2 id="org633a994"><span class="section-number-2">16.</span> Hardware</h2>
|
||||
<div id="outline-container-orga609181" class="outline-2">
|
||||
<h2 id="orga609181"><span class="section-number-2">16.</span> Hardware</h2>
|
||||
<div class="outline-text-2" id="text-16">
|
||||
<p>
|
||||
I'll let the code comments explain the file here.
|
||||
@@ -1048,8 +1048,8 @@ I'll let the code comments explain the file here.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org32d37d1" class="outline-2">
|
||||
<h2 id="org32d37d1"><span class="section-number-2">17.</span> Configuration</h2>
|
||||
<div id="outline-container-orgb24bb77" class="outline-2">
|
||||
<h2 id="orgb24bb77"><span class="section-number-2">17.</span> Configuration</h2>
|
||||
<div class="outline-text-2" id="text-17">
|
||||
<p>
|
||||
This section describes the main system configuration for the computers that I have. Nix will look for a <code>default.nix</code> file if you give it a path to a folder to import. And <code>default.nix</code> looks as follows :-
|
||||
@@ -1092,16 +1092,16 @@ This section describes the main system configuration for the computers that I ha
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgd694db7" class="outline-3">
|
||||
<h3 id="orgd694db7"><span class="section-number-3">17.1.</span> Apps section</h3>
|
||||
<div id="outline-container-orga697833" class="outline-3">
|
||||
<h3 id="orga697833"><span class="section-number-3">17.1.</span> Apps section</h3>
|
||||
<div class="outline-text-3" id="text-17-1">
|
||||
<p>
|
||||
This section describes a way of installing packages, either through nixpkgs orr flatpak. What apps to instal is decided in the files ./assets/conf/apps/packages.conf and flatpaks.conf
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgf4778a8" class="outline-3">
|
||||
<h3 id="orgf4778a8"><span class="section-number-3">17.2.</span> install<sub>packages.nix</sub></h3>
|
||||
<div id="outline-container-orga759628" class="outline-3">
|
||||
<h3 id="orga759628"><span class="section-number-3">17.2.</span> install<sub>packages.nix</sub></h3>
|
||||
<div class="outline-text-3" id="text-17-2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix">{ config, lib, pkgs, flakeRoot, ... }:
|
||||
@@ -1156,8 +1156,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga9cccfb" class="outline-3">
|
||||
<h3 id="orga9cccfb"><span class="section-number-3">17.3.</span> install<sub>flatpaks.nix</sub></h3>
|
||||
<div id="outline-container-org97aa439" class="outline-3">
|
||||
<h3 id="org97aa439"><span class="section-number-3">17.3.</span> install<sub>flatpaks.nix</sub></h3>
|
||||
<div class="outline-text-3" id="text-17-3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix">{ config, pkgs, lib, flakeRoot, ... }:
|
||||
@@ -1268,8 +1268,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgfb951dd" class="outline-3">
|
||||
<h3 id="orgfb951dd"><span class="section-number-3">17.4.</span> Nix Settings</h3>
|
||||
<div id="outline-container-org06f08ce" class="outline-3">
|
||||
<h3 id="org06f08ce"><span class="section-number-3">17.4.</span> Nix Settings</h3>
|
||||
<div class="outline-text-3" id="text-17-4">
|
||||
<p>
|
||||
These are global nix settings that configure the settings for the actual tool.
|
||||
@@ -1318,8 +1318,8 @@ These are global nix settings that configure the settings for the actual tool.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org30d9a04" class="outline-3">
|
||||
<h3 id="org30d9a04"><span class="section-number-3">17.5.</span> Boot</h3>
|
||||
<div id="outline-container-org665cab1" class="outline-3">
|
||||
<h3 id="org665cab1"><span class="section-number-3">17.5.</span> Boot</h3>
|
||||
<div class="outline-text-3" id="text-17-5">
|
||||
<p>
|
||||
This file has most of the settings the control how the computer boots up.
|
||||
@@ -1357,16 +1357,16 @@ This file has most of the settings the control how the computer boots up.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org1705241" class="outline-3">
|
||||
<h3 id="org1705241"><span class="section-number-3">17.6.</span> Login</h3>
|
||||
<div id="outline-container-org4ea341f" class="outline-3">
|
||||
<h3 id="org4ea341f"><span class="section-number-3">17.6.</span> Login</h3>
|
||||
<div class="outline-text-3" id="text-17-6">
|
||||
<p>
|
||||
Here we control what the login screen would look like. In configuration/default.nix you can choose whether to use tuigreet (very minimalistic) or LightDM (nicer, themeable)
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga7a4f0e" class="outline-3">
|
||||
<h3 id="orga7a4f0e"><span class="section-number-3">17.7.</span> Tuigreet</h3>
|
||||
<div id="outline-container-org571f2b5" class="outline-3">
|
||||
<h3 id="org571f2b5"><span class="section-number-3">17.7.</span> Tuigreet</h3>
|
||||
<div class="outline-text-3" id="text-17-7">
|
||||
<p>
|
||||
Doesn't match the rest of the aesthetic of the system (with hyprland), but I like its simplicity.
|
||||
@@ -1391,8 +1391,8 @@ Doesn't match the rest of the aesthetic of the system (with hyprland), but I lik
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org5aba478" class="outline-3">
|
||||
<h3 id="org5aba478"><span class="section-number-3">17.8.</span> LightDM</h3>
|
||||
<div id="outline-container-orgd7aa1ce" class="outline-3">
|
||||
<h3 id="orgd7aa1ce"><span class="section-number-3">17.8.</span> LightDM</h3>
|
||||
<div class="outline-text-3" id="text-17-8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix">{ config, pkgs, lib, ... }:
|
||||
@@ -1539,8 +1539,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org901400e" class="outline-3">
|
||||
<h3 id="org901400e"><span class="section-number-3">17.9.</span> Terminal (default system)</h3>
|
||||
<div id="outline-container-orgafa460c" class="outline-3">
|
||||
<h3 id="orgafa460c"><span class="section-number-3">17.9.</span> Terminal (default system)</h3>
|
||||
<div class="outline-text-3" id="text-17-9">
|
||||
<p>
|
||||
This is the initial system level configuration for the terminal that I use on this machine. Its just <a href="https://ohmyz.sh/">zsh</a>.
|
||||
@@ -1559,8 +1559,8 @@ This is the initial system level configuration for the terminal that I use on th
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgd06730f" class="outline-3">
|
||||
<h3 id="orgd06730f"><span class="section-number-3">17.10.</span> Files</h3>
|
||||
<div id="outline-container-orgc5dce59" class="outline-3">
|
||||
<h3 id="orgc5dce59"><span class="section-number-3">17.10.</span> Files</h3>
|
||||
<div class="outline-text-3" id="text-17-10">
|
||||
<p>
|
||||
I use Thunar as the file explorer. Also setup a few plugins for <a href="https://docs.xfce.org/xfce/thunar/start">Thunar</a> in this config.
|
||||
@@ -1601,8 +1601,8 @@ Along with that, a few other utilities like zip and enabling services to automou
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org332b01f" class="outline-3">
|
||||
<h3 id="org332b01f"><span class="section-number-3">17.11.</span> Locale</h3>
|
||||
<div id="outline-container-org105d167" class="outline-3">
|
||||
<h3 id="org105d167"><span class="section-number-3">17.11.</span> Locale</h3>
|
||||
<div class="outline-text-3" id="text-17-11">
|
||||
<p>
|
||||
I live in Netherlands and would like all my locale and timezone settings to match. Except my default locale.
|
||||
@@ -1636,8 +1636,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org8d33938" class="outline-3">
|
||||
<h3 id="org8d33938"><span class="section-number-3">17.12.</span> Networking</h3>
|
||||
<div id="outline-container-org9771a2c" class="outline-3">
|
||||
<h3 id="org9771a2c"><span class="section-number-3">17.12.</span> Networking</h3>
|
||||
<div class="outline-text-3" id="text-17-12">
|
||||
<p>
|
||||
Not much to see here. I want networking to be enabled. I want firewall as well.
|
||||
@@ -1668,8 +1668,8 @@ Not much to see here. I want networking to be enabled. I want firewall as well.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org2ea5fa1" class="outline-3">
|
||||
<h3 id="org2ea5fa1"><span class="section-number-3">17.13.</span> Hyprland</h3>
|
||||
<div id="outline-container-org52fa255" class="outline-3">
|
||||
<h3 id="org52fa255"><span class="section-number-3">17.13.</span> Hyprland</h3>
|
||||
<div class="outline-text-3" id="text-17-13">
|
||||
<p>
|
||||
This is a big one because the DE needs so much configuration. This section mostly installs <a href="https://hyprland.org/">Hyprland</a>.
|
||||
@@ -1739,12 +1739,14 @@ The configuration is done in the home manager section.
|
||||
# Optional; GNOME-specific (keep only if you really use gnome-keyring integration)
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
}
|
||||
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org92fc3c1" class="outline-3">
|
||||
<h3 id="org92fc3c1"><span class="section-number-3">17.14.</span> Services</h3>
|
||||
<div id="outline-container-org1b291e7" class="outline-3">
|
||||
<h3 id="org1b291e7"><span class="section-number-3">17.14.</span> Services</h3>
|
||||
<div class="outline-text-3" id="text-17-14">
|
||||
<p>
|
||||
These are some of the services that I enable at the system level. Explanation in the comments.
|
||||
@@ -1777,8 +1779,8 @@ These are some of the services that I enable at the system level. Explanation in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org89fcaaa" class="outline-3">
|
||||
<h3 id="org89fcaaa"><span class="section-number-3">17.15.</span> Audio</h3>
|
||||
<div id="outline-container-org94cf8ee" class="outline-3">
|
||||
<h3 id="org94cf8ee"><span class="section-number-3">17.15.</span> Audio</h3>
|
||||
<div class="outline-text-3" id="text-17-15">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix">{ config, pkgs, lib, ... }:
|
||||
@@ -1856,11 +1858,11 @@ These are some of the services that I enable at the system level. Explanation in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org87caae9" class="outline-3">
|
||||
<h3 id="org87caae9"><span class="section-number-3">17.16.</span> Miscellaneous Packages and Programs</h3>
|
||||
<div id="outline-container-org0880e78" class="outline-3">
|
||||
<h3 id="org0880e78"><span class="section-number-3">17.16.</span> Miscellaneous Packages and Programs</h3>
|
||||
<div class="outline-text-3" id="text-17-16">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgd832543">environment.systemPackages = with pkgs; [
|
||||
<pre class="src src-nix" id="orgf9d8aab">environment.systemPackages = with pkgs; [
|
||||
wget # fetch utility
|
||||
curl # more fetch utility
|
||||
binutils # executable utilities, like ld
|
||||
@@ -1888,7 +1890,7 @@ programs.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="org4022c4d">programs = {
|
||||
<pre class="src src-nix" id="org9784dd3">programs = {
|
||||
nix-ld.enable = true; # helps with linking troubles with dynamic libraries
|
||||
appimage.enable = true; # allow appimage installations
|
||||
dconf.enable = true; # to save user settings
|
||||
@@ -1904,14 +1906,14 @@ programs.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org84aff04" class="outline-3">
|
||||
<h3 id="org84aff04"><span class="section-number-3">17.17.</span> Fonts</h3>
|
||||
<div id="outline-container-org0be3b3b" class="outline-3">
|
||||
<h3 id="org0be3b3b"><span class="section-number-3">17.17.</span> Fonts</h3>
|
||||
<div class="outline-text-3" id="text-17-17">
|
||||
<p>
|
||||
Nothing much to see here. I love <a href="https://protesilaos.com/codelog/2025-02-12-aporetic-fonts-version-1-1-0/">Aporetic</a>, and I use it everywhere.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgf0d2d0b">fonts.packages = with pkgs; [
|
||||
<pre class="src src-nix" id="org52699bc">fonts.packages = with pkgs; [
|
||||
aporetic
|
||||
nerd-fonts.iosevka
|
||||
];
|
||||
@@ -1919,14 +1921,14 @@ Nothing much to see here. I love <a href="https://protesilaos.com/codelog/2025-0
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org457b649" class="outline-3">
|
||||
<h3 id="org457b649"><span class="section-number-3">17.18.</span> User Config</h3>
|
||||
<div id="outline-container-org59c3d76" class="outline-3">
|
||||
<h3 id="org59c3d76"><span class="section-number-3">17.18.</span> User Config</h3>
|
||||
<div class="outline-text-3" id="text-17-18">
|
||||
<p>
|
||||
This creates the user profile that I login with. Initially created during install.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="orgbdfc0a8">users.users.${user.username} = {
|
||||
<pre class="src src-nix" id="org76201a7">users.users.${user.username} = {
|
||||
isNormalUser = true;
|
||||
description = "henrov";
|
||||
extraGroups = [
|
||||
@@ -1941,8 +1943,8 @@ This creates the user profile that I login with. Initially created during instal
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org812ca5b" class="outline-2">
|
||||
<h2 id="org812ca5b"><span class="section-number-2">18.</span> Home</h2>
|
||||
<div id="outline-container-org5cb42d5" class="outline-2">
|
||||
<h2 id="org5cb42d5"><span class="section-number-2">18.</span> Home</h2>
|
||||
<div class="outline-text-2" id="text-18">
|
||||
<p>
|
||||
I use home-manager to manage my user level dotfiles and configurations.
|
||||
@@ -1950,8 +1952,8 @@ Most of the "theme" of the system is decided here.
|
||||
I also use it to install programs that are okay with being installed at the user level instead of the system.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org3109f74" class="outline-3">
|
||||
<h3 id="org3109f74"><span class="section-number-3">18.1.</span> default.nix</h3>
|
||||
<div id="outline-container-org64a050f" class="outline-3">
|
||||
<h3 id="org64a050f"><span class="section-number-3">18.1.</span> default.nix</h3>
|
||||
<div class="outline-text-3" id="text-18-1">
|
||||
<p>
|
||||
This module will import all necessities.
|
||||
@@ -1987,8 +1989,8 @@ This module will import all necessities.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb8e6927" class="outline-3">
|
||||
<h3 id="orgb8e6927"><span class="section-number-3">18.2.</span> Wallpaper</h3>
|
||||
<div id="outline-container-org40592c8" class="outline-3">
|
||||
<h3 id="org40592c8"><span class="section-number-3">18.2.</span> Wallpaper</h3>
|
||||
<div class="outline-text-3" id="text-18-2">
|
||||
<p>
|
||||
wallpaper.nix installs wpaperd and deploys your wallpaper files from the repo (./assets/conf/desktop/wallpaper/pictures/) into ~/conf/desktop/wallpaper/pictures. It also deploys the default wallpaper configuration from assets/conf/desktop/wallpaper/wallpaper.conf into ~/conf/desktop/wallpaper/wallpaper.conf, which is the file you can edit as a user override.
|
||||
@@ -2042,11 +2044,11 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orge6c1007" class="outline-3">
|
||||
<h3 id="orge6c1007"><span class="section-number-3">18.3.</span> Waybar</h3>
|
||||
<div id="outline-container-orgb80b5a0" class="outline-3">
|
||||
<h3 id="orgb80b5a0"><span class="section-number-3">18.3.</span> Waybar</h3>
|
||||
<div class="outline-text-3" id="text-18-3">
|
||||
|
||||
<div id="org95bc5d3" class="figure">
|
||||
<div id="org0145221" class="figure">
|
||||
<p><img src="./.github/images/waybar.png" alt="waybar.png" />
|
||||
</p>
|
||||
</div>
|
||||
@@ -2083,8 +2085,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org172cf35" class="outline-3">
|
||||
<h3 id="org172cf35"><span class="section-number-3">18.4.</span> Lock Screen</h3>
|
||||
<div id="outline-container-org6ff492c" class="outline-3">
|
||||
<h3 id="org6ff492c"><span class="section-number-3">18.4.</span> Lock Screen</h3>
|
||||
<div class="outline-text-3" id="text-18-4">
|
||||
<p>
|
||||
The lock screen configured using <a href="https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/">hyprlock</a>.
|
||||
@@ -2106,8 +2108,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orga56d6bf" class="outline-3">
|
||||
<h3 id="orga56d6bf"><span class="section-number-3">18.5.</span> Idle Screen</h3>
|
||||
<div id="outline-container-orgd62b72c" class="outline-3">
|
||||
<h3 id="orgd62b72c"><span class="section-number-3">18.5.</span> Idle Screen</h3>
|
||||
<div class="outline-text-3" id="text-18-5">
|
||||
<p>
|
||||
<henro: needs instruction>
|
||||
@@ -2125,8 +2127,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org5b23797" class="outline-3">
|
||||
<h3 id="org5b23797"><span class="section-number-3">18.6.</span> Hyprshell</h3>
|
||||
<div id="outline-container-orgfb07332" class="outline-3">
|
||||
<h3 id="orgfb07332"><span class="section-number-3">18.6.</span> Hyprshell</h3>
|
||||
<div class="outline-text-3" id="text-18-6">
|
||||
<p>
|
||||
For nice task-starting and -switching
|
||||
@@ -2166,8 +2168,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org39c5d58" class="outline-3">
|
||||
<h3 id="org39c5d58"><span class="section-number-3">18.7.</span> Hyprland</h3>
|
||||
<div id="outline-container-orgf243bd8" class="outline-3">
|
||||
<h3 id="orgf243bd8"><span class="section-number-3">18.7.</span> Hyprland</h3>
|
||||
<div class="outline-text-3" id="text-18-7">
|
||||
<p>
|
||||
This configures the desktop environment along with the peripherals. The comments should explain whats happening.
|
||||
@@ -2217,8 +2219,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org5a92104" class="outline-3">
|
||||
<h3 id="org5a92104"><span class="section-number-3">18.8.</span> Walker</h3>
|
||||
<div id="outline-container-org4d23efe" class="outline-3">
|
||||
<h3 id="org4d23efe"><span class="section-number-3">18.8.</span> Walker</h3>
|
||||
<div class="outline-text-3" id="text-18-8">
|
||||
<p>
|
||||
<a href="https://github.com/abenz1267/walker">This</a> is how I launch applications. It is bound to Win+Space in the ./asstes/conf/desktop/hypr/bindings.conf.
|
||||
@@ -2319,8 +2321,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org49aa1f1" class="outline-3">
|
||||
<h3 id="org49aa1f1"><span class="section-number-3">18.9.</span> Theme</h3>
|
||||
<div id="outline-container-orgae9de88" class="outline-3">
|
||||
<h3 id="orgae9de88"><span class="section-number-3">18.9.</span> Theme</h3>
|
||||
<div class="outline-text-3" id="text-18-9">
|
||||
<p>
|
||||
I use the <a href="https://catppuccin.com/">Catppuccin</a> almost everywhere. The nix module integrates almost automatically everywhere (except gtk).
|
||||
@@ -2353,8 +2355,8 @@ You'll notice the color values in multiple places outside this as well.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org304e105" class="outline-3">
|
||||
<h3 id="org304e105"><span class="section-number-3">18.10.</span> Default-apps</h3>
|
||||
<div id="outline-container-org656044b" class="outline-3">
|
||||
<h3 id="org656044b"><span class="section-number-3">18.10.</span> Default-apps</h3>
|
||||
<div class="outline-text-3" id="text-18-10">
|
||||
<p>
|
||||
This is where you can set defaults
|
||||
@@ -2373,8 +2375,8 @@ This is where you can set defaults
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org06925aa" class="outline-3">
|
||||
<h3 id="org06925aa"><span class="section-number-3">18.11.</span> Hyperexpo</h3>
|
||||
<div id="outline-container-orge4752bb" class="outline-3">
|
||||
<h3 id="orge4752bb"><span class="section-number-3">18.11.</span> Hyperexpo</h3>
|
||||
<div class="outline-text-3" id="text-18-11">
|
||||
<p>
|
||||
hyprexpo gets installed and configured
|
||||
@@ -2414,8 +2416,8 @@ hyprexpo gets installed and configured
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgcf6b48a" class="outline-3">
|
||||
<h3 id="orgcf6b48a"><span class="section-number-3">18.12.</span> Alacritty</h3>
|
||||
<div id="outline-container-org69661e1" class="outline-3">
|
||||
<h3 id="org69661e1"><span class="section-number-3">18.12.</span> Alacritty</h3>
|
||||
<div class="outline-text-3" id="text-18-12">
|
||||
<p>
|
||||
Alacritty gets installed and configured
|
||||
@@ -2437,8 +2439,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org240abd6" class="outline-3">
|
||||
<h3 id="org240abd6"><span class="section-number-3">18.13.</span> Dev Tools</h3>
|
||||
<div id="outline-container-orgfb49aa3" class="outline-3">
|
||||
<h3 id="orgfb49aa3"><span class="section-number-3">18.13.</span> Dev Tools</h3>
|
||||
<div class="outline-text-3" id="text-18-13">
|
||||
<p>
|
||||
All the miscellaneous dev tools on this computer.
|
||||
@@ -2497,8 +2499,8 @@ All the miscellaneous dev tools on this computer.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org4d0ebf9" class="outline-3">
|
||||
<h3 id="org4d0ebf9"><span class="section-number-3">18.14.</span> Kitty</h3>
|
||||
<div id="outline-container-org9fe634b" class="outline-3">
|
||||
<h3 id="org9fe634b"><span class="section-number-3">18.14.</span> Kitty</h3>
|
||||
<div class="outline-text-3" id="text-18-14">
|
||||
<p>
|
||||
Kitty gets installed and configured
|
||||
@@ -2522,8 +2524,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgbfc7c1d" class="outline-3">
|
||||
<h3 id="orgbfc7c1d"><span class="section-number-3">18.15.</span> Shells</h3>
|
||||
<div id="outline-container-orgb5bba99" class="outline-3">
|
||||
<h3 id="orgb5bba99"><span class="section-number-3">18.15.</span> Shells</h3>
|
||||
<div class="outline-text-3" id="text-18-15">
|
||||
<p>
|
||||
The aliases mentioned in ./assets/conf/dev/terminal/shells.conf will be added to enabled shells
|
||||
@@ -2746,8 +2748,8 @@ EOF
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org9990414" class="outline-3">
|
||||
<h3 id="org9990414"><span class="section-number-3">18.16.</span> Zsh</h3>
|
||||
<div id="outline-container-org9a64938" class="outline-3">
|
||||
<h3 id="org9a64938"><span class="section-number-3">18.16.</span> Zsh</h3>
|
||||
<div class="outline-text-3" id="text-18-16">
|
||||
<p>
|
||||
Zsh gets installed and configured
|
||||
@@ -2790,8 +2792,8 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org936cf46" class="outline-3">
|
||||
<h3 id="org936cf46"><span class="section-number-3">18.17.</span> Starship</h3>
|
||||
<div id="outline-container-org9327fa8" class="outline-3">
|
||||
<h3 id="org9327fa8"><span class="section-number-3">18.17.</span> Starship</h3>
|
||||
<div class="outline-text-3" id="text-18-17">
|
||||
<p>
|
||||
The configuration mentioned in ./assets/conf/dev/terminal/starship.toml will be added to enabled shells
|
||||
@@ -2823,18 +2825,18 @@ in
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org4c5eefa" class="outline-3">
|
||||
<h3 id="org4c5eefa"><span class="section-number-3">18.18.</span> Other Settings</h3>
|
||||
<div id="outline-container-org5109e66" class="outline-3">
|
||||
<h3 id="org5109e66"><span class="section-number-3">18.18.</span> Other Settings</h3>
|
||||
<div class="outline-text-3" id="text-18-18">
|
||||
<p>
|
||||
Some repeated info from the configuration.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org391ecc6" class="outline-4">
|
||||
<h4 id="org391ecc6"><span class="section-number-4">18.18.1.</span> Home User</h4>
|
||||
<div id="outline-container-org059df7c" class="outline-4">
|
||||
<h4 id="org059df7c"><span class="section-number-4">18.18.1.</span> Home User</h4>
|
||||
<div class="outline-text-4" id="text-18-18-1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-nix" id="org066964f">home.username = "${user.username}";
|
||||
<pre class="src src-nix" id="org5c1e468">home.username = "${user.username}";
|
||||
home.homeDirectory = pkgs.lib.mkDefault "/home/${user.username}";
|
||||
home.stateVersion = user.stateVersion;
|
||||
</pre>
|
||||
@@ -2843,8 +2845,8 @@ home.stateVersion = user.stateVersion;
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgb285870" class="outline-2">
|
||||
<h2 id="orgb285870"><span class="section-number-2">19.</span> Emacs</h2>
|
||||
<div id="outline-container-org01ba22d" class="outline-2">
|
||||
<h2 id="org01ba22d"><span class="section-number-2">19.</span> Emacs</h2>
|
||||
<div class="outline-text-2" id="text-19">
|
||||
<p>
|
||||
I practically live inside emacs. The configuration for it is a mix between init.el and the nix configuration.
|
||||
@@ -2923,8 +2925,8 @@ Comments describe the emacs package and what it does.
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgde7463d" class="outline-3">
|
||||
<h3 id="orgde7463d"><span class="section-number-3">19.1.</span> Early Initialization</h3>
|
||||
<div id="outline-container-org5d1980d" class="outline-3">
|
||||
<h3 id="org5d1980d"><span class="section-number-3">19.1.</span> Early Initialization</h3>
|
||||
<div class="outline-text-3" id="text-19-1">
|
||||
<p>
|
||||
There are some emacs settings that can be configured before the gui shows up.
|
||||
@@ -3029,8 +3031,8 @@ These are listed here.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org2251976" class="outline-3">
|
||||
<h3 id="org2251976"><span class="section-number-3">19.2.</span> Initialization</h3>
|
||||
<div id="outline-container-org38ec2a4" class="outline-3">
|
||||
<h3 id="org38ec2a4"><span class="section-number-3">19.2.</span> Initialization</h3>
|
||||
<div class="outline-text-3" id="text-19-2">
|
||||
<p>
|
||||
Now starts the main emacs configuration.
|
||||
@@ -3442,22 +3444,22 @@ ting a file within such a
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org18c958e" class="outline-2">
|
||||
<h2 id="org18c958e"><span class="section-number-2">20.</span> Machines</h2>
|
||||
<div id="outline-container-orgaf283dc" class="outline-2">
|
||||
<h2 id="orgaf283dc"><span class="section-number-2">20.</span> Machines</h2>
|
||||
<div class="outline-text-2" id="text-20">
|
||||
<p>
|
||||
Only a few more things left. Specifically the machine level extra settings.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org939edc0" class="outline-3">
|
||||
<h3 id="org939edc0"><span class="section-number-3">20.1.</span> Traveldroid</h3>
|
||||
<div id="outline-container-org52a2ba0" class="outline-3">
|
||||
<h3 id="org52a2ba0"><span class="section-number-3">20.1.</span> Traveldroid</h3>
|
||||
<div class="outline-text-3" id="text-20-1">
|
||||
<p>
|
||||
The configuration for the laptop does not change much. Most changes are because the hardware is different.
|
||||
</p>
|
||||
</div>
|
||||
<div id="outline-container-org22066e4" class="outline-4">
|
||||
<h4 id="org22066e4"><span class="section-number-4">20.1.1.</span> System Level</h4>
|
||||
<div id="outline-container-orgf867a71" class="outline-4">
|
||||
<h4 id="orgf867a71"><span class="section-number-4">20.1.1.</span> System Level</h4>
|
||||
<div class="outline-text-4" id="text-20-1-1">
|
||||
<p>
|
||||
Nothing specific for the laptop.
|
||||
@@ -3475,8 +3477,8 @@ Nothing specific for the laptop.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org41d4d50" class="outline-4">
|
||||
<h4 id="org41d4d50"><span class="section-number-4">20.1.2.</span> Hardware</h4>
|
||||
<div id="outline-container-org37bf028" class="outline-4">
|
||||
<h4 id="org37bf028"><span class="section-number-4">20.1.2.</span> Hardware</h4>
|
||||
<div class="outline-text-4" id="text-20-1-2">
|
||||
<p>
|
||||
This is the most different. Mostly taken from hardware-configuration.nix setup at first install.
|
||||
@@ -3525,8 +3527,8 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistr
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-orgdfd4f27" class="outline-4">
|
||||
<h4 id="orgdfd4f27"><span class="section-number-4">20.1.3.</span> Home</h4>
|
||||
<div id="outline-container-orgc1151a9" class="outline-4">
|
||||
<h4 id="orgc1151a9"><span class="section-number-4">20.1.3.</span> Home</h4>
|
||||
<div class="outline-text-4" id="text-20-1-3">
|
||||
<p>
|
||||
This is mostly about configuring the monitor. And laptop specific utilities.
|
||||
@@ -3553,18 +3555,18 @@ This is mostly about configuring the monitor. And laptop specific utilities.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="outline-container-org14384a8" class="outline-2">
|
||||
<h2 id="org14384a8"><span class="section-number-2">21.</span> README Utils</h2>
|
||||
<div id="outline-container-org023d916" class="outline-2">
|
||||
<h2 id="org023d916"><span class="section-number-2">21.</span> README Utils</h2>
|
||||
<div class="outline-text-2" id="text-21">
|
||||
</div>
|
||||
<div id="outline-container-org0a8994a" class="outline-4">
|
||||
<h4 id="org0a8994a"><span class="section-number-4">21.0.1.</span> Headers</h4>
|
||||
<div id="outline-container-orgb596328" class="outline-4">
|
||||
<h4 id="orgb596328"><span class="section-number-4">21.0.1.</span> Headers</h4>
|
||||
<div class="outline-text-4" id="text-21-0-1">
|
||||
<p>
|
||||
This script adds a <code>DO NOT MODIFY</code> header to all the generated nix files.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp" id="org94f0000">(progn
|
||||
<pre class="src src-emacs-lisp" id="org84f5f8a">(progn
|
||||
(defun add-tangle-headers ()
|
||||
(message "running in %s" (buffer-file-name))
|
||||
(when (string= (file-name-extension (buffer-file-name)) "nix")
|
||||
@@ -3581,7 +3583,7 @@ This script adds a <code>DO NOT MODIFY</code> header to all the generated nix fi
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: henrov</p>
|
||||
<p class="date">Created: 2026-02-22 zo 21:36</p>
|
||||
<p class="date">Created: 2026-02-22 zo 21:43</p>
|
||||
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1130,6 +1130,8 @@ The configuration is done in the home manager section.
|
||||
# Optional; GNOME-specific (keep only if you really use gnome-keyring integration)
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
}
|
||||
|
||||
|
||||
#+end_src
|
||||
|
||||
** Services
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user