2176 lines
75 KiB
HTML
2176 lines
75 KiB
HTML
<?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>
|
||
<!-- 2026-03-07 za 22:59 -->
|
||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<title>Droidnix: A Dendritic NixOS + Home Manager Configuration NixOS Configuration Structure</title>
|
||
<meta name="author" content="Henro Veijer" />
|
||
<meta name="generator" content="Org Mode" />
|
||
<style type="text/css">
|
||
#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 { }
|
||
</style>
|
||
<style>pre.src { background-color: #1e1e2e; color: #cdd6f4; padding: 1em; border-radius: 4px; }</style>
|
||
<script src="https://cdn.jsdelivr.net/npm/tree.js@1.0.0/dist/tree.min.js"></script>
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tree.js@1.0.0/dist/tree.min.css">
|
||
</head>
|
||
<body>
|
||
<div id="content" class="content">
|
||
<h1 class="title">Droidnix: A Dendritic NixOS + Home Manager Configuration NixOS Configuration Structure</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="#org29caa8d">Shortcuts</a></li>
|
||
<li><a href="#introduction">Introduction   <span class="tag"><span class="intro">intro</span></span></a>
|
||
<ul>
|
||
<li><a href="#org84de2dd">What is Droidnix</a>
|
||
<ul>
|
||
<li><a href="#org052d23a">Installed components:</a></li>
|
||
<li><a href="#orgd3f440b">Goals, project Structure, import hierarchy</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#org1c3e8d4">Root Level</a></li>
|
||
<li><a href="#org888fdf6">Generated Structure</a>
|
||
<ul>
|
||
<li><a href="#org1f45a3b">System (<code>generated/system/</code>)</a>
|
||
<ul>
|
||
<li><a href="#org372b2f1">Applications (<code>applications/</code>)</a></li>
|
||
<li><a href="#org636b091">Development (<code>development/</code>)</a></li>
|
||
<li><a href="#org4710fab">System Management (<code>system_management/</code>)</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#orgf2294ed">Hyprland (<code>generated/hyprland/</code>)</a></li>
|
||
<li><a href="#orga858c31">MangoWC (<code>generated/mangowc/</code>)</a></li>
|
||
<li><a href="#org39d2257">First Setup</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#the-assets-folder">The Assets Folder   <span class="tag"><span class="assets">assets</span></span></a>
|
||
<ul>
|
||
<li><a href="#orgdd28fe9"><code>.assets/common/</code></a></li>
|
||
<li><a href="#org0a5f76c"><code>.assets/hyprland/</code></a></li>
|
||
<li><a href="#orgc19d3dd"><code>.assets/mangowc/</code></a></li>
|
||
<li><a href="#org32537cd"><code>.assets/machines/</code></a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#the-actual-code">The Actual Code   <span class="tag"><span class="code">code</span></span></a>
|
||
<ul>
|
||
<li><a href="#org9e67e82"><code>flake.nix</code></a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#orgfcd63a4">First the nix-files that flake really needs and that do not fit wel in the hierarchical structure</a>
|
||
<ul>
|
||
<li><a href="#orgf316d0a"><code>assets/flake/users/henrov.nix</code></a></li>
|
||
<li><a href="#org8971e98"><code>assets/flake/terminal_shell/devshell.nix</code></a></li>
|
||
<li><a href="#org1b17750"><code>assets/flake/machines/traveldroid/top.nix</code></a></li>
|
||
<li><a href="#org227c2b3"><code>assets/flake/machines/traveldroid/boot.nix</code></a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a href="#org377bc7d">Now we reach the top of the hierarchy which will call all other imports</a>
|
||
<ul>
|
||
<li><a href="#org6047952"><code>generated/top.nix</code></a></li>
|
||
<li><a href="#org2335ba5"><code>generated/hyprland/top.nix</code></a></li>
|
||
<li><a href="#org278892b"><code>generated/hyprland/hyprland.nix</code></a></li>
|
||
<li><a href="#orgde991ca"><code>generated/mangowc/top.nix</code></a></li>
|
||
<li><a href="#orgb7780f7"><code>generated/system/top.nix</code></a></li>
|
||
<li><a href="#org585d397"><code>generated/system/applications/top.nix</code></a></li>
|
||
<li><a href="#org1d741dd"><code>generated/system/core/top.nix</code></a></li>
|
||
<li><a href="#org92aee5b"><code>generated/system/core/login-tuigreeter.nix</code></a></li>
|
||
<li><a href="#orgb99a5cb"><code>generated/system/core/wayland.nix</code></a></li>
|
||
<li><a href="#org9bfff18"><code>generated/system/development/top.nix</code></a></li>
|
||
<li><a href="#org9f59a6a"><code>generated/system/system_management/top.nix</code></a></li>
|
||
<li><a href="#org93601ba"><code>generated/hyprland/animations_effects/top.nix</code></a></li>
|
||
<li><a href="#org969c6ff"><code>generated/hyprland/decorations/top.nix</code></a></li>
|
||
<li><a href="#org83a87c3"><code>generated/hyprland/keyboard_binds/top.nix</code></a></li>
|
||
<li><a href="#org2a6e46a"><code>generated/hyprland/notifications/top.nix</code></a></li>
|
||
<li><a href="#org9ff4ece"><code>generated/hyprland/statusbar_tray/top.nix</code></a></li>
|
||
<li><a href="#org1a3c01c"><code>generated/hyprland/task_launcher/top.nix</code></a></li>
|
||
<li><a href="#orgc84872e"><code>generated/hyprland/task_window_workspace_switcher/top.nix</code></a></li>
|
||
<li><a href="#orge0d8ecc"><code>generated/hyprland/window_rules/top.nix</code></a></li>
|
||
<li><a href="#org68ec67a"><code>generated/mangowc/animations_effects/top.nix</code></a></li>
|
||
<li><a href="#org2d14c88"><code>generated/mangowc/decorations/top.nix</code></a></li>
|
||
<li><a href="#org47f0acd"><code>generated/mangowc/keyboard_binds/top.nix</code></a></li>
|
||
<li><a href="#org92214b4"><code>generated/mangowc/notifications/top.nix</code></a></li>
|
||
<li><a href="#orgfb61ca9"><code>generated/mangowc/statusbar_tray/top.nix</code></a></li>
|
||
<li><a href="#org51bd028"><code>generated/mangowc/task_launcher/top.nix</code></a></li>
|
||
<li><a href="#org22f6c65"><code>generated/mangowc/task_launcher/wofi.nix</code></a></li>
|
||
<li><a href="#org8805191"><code>generated/mangowc/task_window_workspace_switcher/top.nix</code></a></li>
|
||
<li><a href="#orgc90964c"><code>generated/mangowc/window_rules/top.nix</code></a></li>
|
||
<li><a href="#org6e24678"><code>generated/system/applications/accessibility/top.nix</code></a></li>
|
||
<li><a href="#org47b2c9d"><code>generated/system/applications/file_management/top.nix</code></a></li>
|
||
<li><a href="#org26961aa"><code>generated/system/applications/gaming/top.nix</code></a></li>
|
||
<li><a href="#org4e6d64e"><code>generated/system/applications/media_playback_editing/top.nix</code></a></li>
|
||
<li><a href="#org8406d9e"><code>generated/system/applications/office_productivity/top.nix</code></a></li>
|
||
<li><a href="#org7add83f"><code>generated/system/applications/terminal_shell/top.nix</code></a></li>
|
||
<li><a href="#orge3a63f8"><code>generated/system/applications/terminal_shell/kitty.nix</code></a></li>
|
||
<li><a href="#orgf98e70a"><code>generated/system/applications/terminal_shell/starship.nix</code></a></li>
|
||
<li><a href="#orgcf58a8b"><code>generated/system/applications/terminal_shell/zsh.nix</code></a></li>
|
||
<li><a href="#org46a288c"><code>generated/system/development/databases/top.nix</code></a></li>
|
||
<li><a href="#orgf094b4a"><code>generated/system/development/devops_ci_cd/top.nix</code></a></li>
|
||
<li><a href="#org767722b"><code>generated/system/development/programming_languages/top.nix</code></a></li>
|
||
<li><a href="#org5e1c7d2"><code>generated/system/development/virtualization/top.nix</code></a></li>
|
||
<li><a href="#orgbbb2c53"><code>generated/system/development/web_development/top.nix</code></a></li>
|
||
<li><a href="#org48fc61a"><code>generated/system/system_management/audio/top.nix</code></a></li>
|
||
<li><a href="#org90a6307"><code>generated/system/system_management/backups/top.nix</code></a></li>
|
||
<li><a href="#org4d56ca8"><code>generated/system/system_management/bluetooth/top.nix</code></a></li>
|
||
<li><a href="#orgcddfe75"><code>generated/system/system_management/disk_management/top.nix</code></a></li>
|
||
<li><a href="#orge3b80fe"><code>generated/system/system_management/hardware_sensors/top.nix</code></a></li>
|
||
<li><a href="#org85c77d2"><code>generated/system/system_management/logging_monitoring/top.nix</code></a></li>
|
||
<li><a href="#org9937896"><code>generated/system/system_management/login_manager/top.nix</code></a></li>
|
||
<li><a href="#org386deee"><code>generated/system/system_management/monitor_setup/top.nix</code></a></li>
|
||
<li><a href="#org10ec09b"><code>generated/system/system_management/networking/top.nix</code></a></li>
|
||
<li><a href="#orgf33fe65"><code>generated/system/system_management/power_management/top.nix</code></a></li>
|
||
<li><a href="#org02efa66"><code>generated/system/system_management/printers_scanners/top.nix</code></a></li>
|
||
<li><a href="#org25ec3c1"><code>generated/system/system_management/security/top.nix</code></a></li>
|
||
<li><a href="#org6d1d04d"><code>generated/system/system_management/system_updates/top.nix</code></a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org29caa8d" class="outline-2">
|
||
<h2 id="org29caa8d">Shortcuts</h2>
|
||
<div class="outline-text-2" id="text-org29caa8d">
|
||
<p>
|
||
<a href="#introduction">Introduction</a>
|
||
<a href="#the-assets-folder">The Assets Folder</a>
|
||
<a href="#the-actual-code">The Actual Code</a>
|
||
</p>
|
||
|
||
<p>
|
||
—
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-introduction" class="outline-2">
|
||
<h2 id="introduction">Introduction   <span class="tag"><span class="intro">intro</span></span></h2>
|
||
<div class="outline-text-2" id="text-introduction">
|
||
</div>
|
||
<div id="outline-container-org84de2dd" class="outline-3">
|
||
<h3 id="org84de2dd">What is Droidnix</h3>
|
||
<div class="outline-text-3" id="text-org84de2dd">
|
||
<p>
|
||
Droidnix is a modular, declarative NixOS + Home Manager configuration system. It allows users to choose between <code>Hyprland</code> and <code>Mangowc</code> as their window manager, with shared and WM-specific configurations managed via Emacs Org and Nix Flakes. The project is designed for reproducibility, maintainability, and cross-machine compatibility.
|
||
</p>
|
||
</div>
|
||
<div id="outline-container-org052d23a" class="outline-4">
|
||
<h4 id="org052d23a">Installed components:</h4>
|
||
<div class="outline-text-4" id="text-org052d23a">
|
||
</div>
|
||
<ul class="org-ul">
|
||
<li><a id="orgbf50e3e"></a>Core<br /></li>
|
||
<li><a id="org65858c8"></a>Hyprland<br /></li>
|
||
<li><a id="orga57d6bb"></a>Mangowc<br /></li>
|
||
</ul>
|
||
</div>
|
||
<div id="outline-container-orgd3f440b" class="outline-4">
|
||
<h4 id="orgd3f440b">Goals, project Structure, import hierarchy</h4>
|
||
<div class="outline-text-4" id="text-orgd3f440b">
|
||
<p>
|
||
This project uses a <b><b>modular NixOS configuration</b></b> with <b><b>Hyprland</b></b> and <b><b>MangoWC</b></b> support, designed for <b><b>literate programming</b></b> and <b><b>cross-device reusability</b></b>.
|
||
The Droidnix repository is organized into two main parts:
|
||
</p>
|
||
<ol class="org-ol">
|
||
<li><code>.assets/</code>: Static, non-generated files (e.g., configs, scripts, themes).</li>
|
||
<li>Generated folders (<code>common</code>, <code>hyprland</code>, <code>mangowc</code>): NixOS and Home Manager configurations, generated from Org files.</li>
|
||
</ol>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org1c3e8d4" class="outline-2">
|
||
<h2 id="org1c3e8d4">Root Level</h2>
|
||
<div class="outline-text-2" id="text-org1c3e8d4">
|
||
<ul class="org-ul">
|
||
<li><code>flake.nix</code> is the entry point and imports:
|
||
<ul class="org-ul">
|
||
<li><code>generated/system/</code></li>
|
||
<li><code>generated/hyprland/</code></li>
|
||
<li><code>generated/mangowc/</code></li>
|
||
<li>Machine-specific configurations from <code>assets/machines/</code></li>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org888fdf6" class="outline-2">
|
||
<h2 id="org888fdf6">Generated Structure</h2>
|
||
<div class="outline-text-2" id="text-org888fdf6">
|
||
<p>
|
||
The <code>generated/</code> directory contains all generated configurations, divided into three main groups: <code>system</code>, <code>hyprland</code>, and <code>mangowc</code>.
|
||
</p>
|
||
</div>
|
||
<div id="outline-container-org1f45a3b" class="outline-3">
|
||
<h3 id="org1f45a3b">System (<code>generated/system/</code>)</h3>
|
||
<div class="outline-text-3" id="text-org1f45a3b">
|
||
<p>
|
||
This directory contains system-wide configurations that are independent of the window manager.
|
||
</p>
|
||
</div>
|
||
<div id="outline-container-org372b2f1" class="outline-4">
|
||
<h4 id="org372b2f1">Applications (<code>applications/</code>)</h4>
|
||
<div class="outline-text-4" id="text-org372b2f1">
|
||
<ul class="org-ul">
|
||
<li><code>file_management/</code>: Configurations for file managers and storage solutions.</li>
|
||
<li><code>gaming/</code>: Settings for gaming-related software.</li>
|
||
<li><code>office_productivity/</code>: Configurations for office software.</li>
|
||
<li><code>media_playback_editing/</code>: Settings for media playback and editing software.</li>
|
||
<li><code>terminal_shell/</code>: Configurations for terminal emulators and shells.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org636b091" class="outline-4">
|
||
<h4 id="org636b091">Development (<code>development/</code>)</h4>
|
||
<div class="outline-text-4" id="text-org636b091">
|
||
<ul class="org-ul">
|
||
<li><code>databases/</code>: Settings for local databases.</li>
|
||
<li><code>devops_ci_cd/</code>: Configurations for DevOps tools.</li>
|
||
<li><code>programming_languages/</code>: Settings for programming languages and their runtimes.</li>
|
||
<li><code>virtualization/</code>: Configurations for virtualization and containerization tools.</li>
|
||
<li><code>web_development/</code>: Settings for web development.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org4710fab" class="outline-4">
|
||
<h4 id="org4710fab">System Management (<code>system_management/</code>)</h4>
|
||
<div class="outline-text-4" id="text-org4710fab">
|
||
<ul class="org-ul">
|
||
<li><code>backups/</code>: Settings for backup software.</li>
|
||
<li><code>bluetooth/</code>: Configurations for Bluetooth devices and services.</li>
|
||
<li><code>power_management/</code>: Settings for power management.</li>
|
||
<li><code>audio/</code>: Configurations for audio.</li>
|
||
<li><code>hardware_sensors/</code>: Settings for hardware monitoring.</li>
|
||
<li><code>logging_monitoring/</code>: Configurations for system logging and monitoring.</li>
|
||
<li><code>login_manager/</code>: Settings for the login manager.</li>
|
||
<li><code>monitor_setup/</code>: Configurations for display settings.</li>
|
||
<li><code>networking/</code>: Settings for networking.</li>
|
||
<li><code>printers_scanners/</code>: Configurations for printers and scanners.</li>
|
||
<li><code>disk_management/</code>: Settings for disk management.</li>
|
||
<li><code>security/</code>: Security-related configurations.</li>
|
||
<li><code>system_updates/</code>: Settings for system updates and package management.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgf2294ed" class="outline-3">
|
||
<h3 id="orgf2294ed">Hyprland (<code>generated/hyprland/</code>)</h3>
|
||
<div class="outline-text-3" id="text-orgf2294ed">
|
||
<p>
|
||
This directory contains configurations specific to Hyprland.
|
||
</p>
|
||
|
||
<ul class="org-ul">
|
||
<li><code>animations_effects/</code>: Settings for window animations and visual effects.</li>
|
||
<li><code>decorations/</code>: Configurations for window decorations.</li>
|
||
<li><code>keyboard_binds/</code>: Keyboard shortcuts for Hyprland.</li>
|
||
<li><code>notifications/</code>: Settings for notifications.</li>
|
||
<li><code>statusbar_tray/</code>: Configurations for the status bar and system tray.</li>
|
||
<li><code>task_launcher/</code>: Settings for task launchers.</li>
|
||
<li><code>task_window_workspace_switcher/</code>: Configurations for switching between windows and workspaces.</li>
|
||
<li><code>window_rules/</code>: Rules for window behavior.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orga858c31" class="outline-3">
|
||
<h3 id="orga858c31">MangoWC (<code>generated/mangowc/</code>)</h3>
|
||
<div class="outline-text-3" id="text-orga858c31">
|
||
<p>
|
||
This directory contains configurations specific to MangoWC.
|
||
</p>
|
||
|
||
<ul class="org-ul">
|
||
<li><code>animations_effects/</code>: Settings for animations and effects in MangoWC.</li>
|
||
<li><code>decorations/</code>: Configurations for window decorations.</li>
|
||
<li><code>keyboard_binds/</code>: Keyboard shortcuts for MangoWC.</li>
|
||
<li><code>notifications/</code>: Settings for notifications.</li>
|
||
<li><code>statusbar_tray/</code>: Configurations for the status bar and system tray.</li>
|
||
<li><code>task_launcher/</code>: Settings for task launchers.</li>
|
||
<li><code>task_window_workspace_switcher/</code>: Configurations for switching between windows and workspaces.</li>
|
||
<li><code>window_rules/</code>: Rules for window behavior.</li>
|
||
</ul>
|
||
|
||
<p>
|
||
<b><b>File Structure and Imports</b></b>
|
||
</p>
|
||
<ul class="org-ul">
|
||
<li>Every <code>top.nix</code> file imports all <code>.nix</code> files in its directory.</li>
|
||
<li>Machine-specific configurations are stored in <code>assets/machines/</code>.</li>
|
||
<li>Themes and overrides are modular and reusable across setups.</li>
|
||
</ul>
|
||
|
||
<p>
|
||
<b><b>Design Principles</b></b>
|
||
</p>
|
||
<ul class="org-ul">
|
||
<li><b><b>Modularity</b></b>: Each component is self-contained and reusable.</li>
|
||
<li><b><b>Consistency</b></b>: Every directory follows the same import pattern.</li>
|
||
<li><b><b>Scalability</b></b>: Easy to add new machines or configurations.</li>
|
||
</ul>
|
||
|
||
<pre class="example" id="org92aa6ed">
|
||
.
|
||
├── assets
|
||
│ ├── common
|
||
│ │ ├── conf
|
||
│ │ │ └── base.conf
|
||
│ │ ├── cursors
|
||
│ │ │ └── Bibata_Cursor-main
|
||
│ │ ├── emacs
|
||
│ │ │ └── setup_emacs.sh
|
||
│ │ ├── icons
|
||
│ │ │ └── papirus-icon-theme-master
|
||
│ │ ├── neovim
|
||
│ │ │ └── setup_nvim_literate_nixos.sh
|
||
│ │ ├── nixos_conf
|
||
│ │ │ └── wallpaperstuff
|
||
│ │ │ ├── pictures
|
||
│ │ │ └── videos
|
||
│ │ ├── scripts
|
||
│ │ │ ├── copy_stuff.sh
|
||
│ │ │ └── end_script.sh
|
||
│ │ └── themes
|
||
│ │ └── Catppuccin-Mocha-Standard-Blue-Dark
|
||
│ ├── copy_stuff
|
||
│ │ ├── Droidnix
|
||
│ │ │ ├── hypr
|
||
│ │ │ │ ├── conf.d
|
||
│ │ │ │ └── scripts
|
||
│ │ │ └── wallpaperstuff
|
||
│ │ │ ├── pictures
|
||
│ │ │ └── videos
|
||
│ │ └── kitty
|
||
│ │ ├── kitty.conf
|
||
│ │ └── themes
|
||
│ │ └── Catppuccin-Mocha.conf
|
||
│ ├── hyprland
|
||
│ │ ├── conf
|
||
│ │ ├── scripts
|
||
│ │ └── themes
|
||
│ ├── machines
|
||
│ │ ├── maindroid
|
||
│ │ └── traveldroid
|
||
│ │ ├── configuration.nix
|
||
│ │ ├── hardware-configuration.nix
|
||
│ │ └── home.nix
|
||
│ └── mangowc
|
||
│ ├── conf
|
||
│ ├── scripts
|
||
│ └── themes
|
||
├── generated
|
||
│ ├── hyprland
|
||
│ │ ├── animations_effects
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── decorations
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── keyboard_binds
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── notifications
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── statusbar_tray
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── task_launcher
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── task_window_workspace_switcher
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ └── window_rules
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── mangowc
|
||
│ │ ├── animations_effects
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── decorations
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── keyboard_binds
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── notifications
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── statusbar_tray
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── task_launcher
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── task_window_workspace_switcher
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ └── window_rules
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ └── system
|
||
│ ├── applications
|
||
│ │ ├── file_management
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── gaming
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── office_productivity
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── media_playback_editing
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── terminal_shell
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ └── accessibility
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── development
|
||
│ │ ├── databases
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── devops_ci_cd
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── programming_languages
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ ├── virtualization
|
||
│ │ │ ├── top.nix
|
||
│ │ │ └── placeholder.nix
|
||
│ │ └── web_development
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ └── system_management
|
||
│ ├── backups
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── bluetooth
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── power_management
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── audio
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── hardware_sensors
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── logging_monitoring
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── login_manager
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── monitor_setup
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── networking
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── printers_scanners
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── disk_management
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ ├── security
|
||
│ │ ├── top.nix
|
||
│ │ └── placeholder.nix
|
||
│ └── system_updates
|
||
│ ├── top.nix
|
||
│ └── placeholder.nix
|
||
├── flake.nix
|
||
├── README.html
|
||
└── README.org
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org39d2257" class="outline-3">
|
||
<h3 id="org39d2257">First Setup</h3>
|
||
<div class="outline-text-3" id="text-org39d2257">
|
||
<ol class="org-ol">
|
||
<li>Clone this repository.</li>
|
||
<li>Run the setup script: <code>./setup_droidnix.sh</code>.</li>
|
||
<li>Edit <code>.assets/common/conf/base.conf</code> to choose your window manager (<code>wm = "hyprland"</code> or <code>wm = "mangowc"</code>).</li>
|
||
<li>Tangle this Org file to generate Nix configurations: <code>C-c C-v t</code> in Emacs or use this: <code>emacs README.org --batch -f org-babel-tangle && emacs --batch --eval "(setq org-html-htmlize-output-type nil)" README.org -f org-html-export-to-html</code></li>
|
||
<li>Build and switch: <code>sudo nixos-rebuild switch --flake .#<hostname></code>.</li>
|
||
</ol>
|
||
|
||
<p>
|
||
—
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-the-assets-folder" class="outline-2">
|
||
<h2 id="the-assets-folder">The Assets Folder   <span class="tag"><span class="assets">assets</span></span></h2>
|
||
<div class="outline-text-2" id="text-the-assets-folder">
|
||
<p>
|
||
The <code>.assets/</code> folder contains all static files, such as configs, scripts, and themes. These files are not generated and can be edited directly.
|
||
</p>
|
||
</div>
|
||
<div id="outline-container-orgdd28fe9" class="outline-3">
|
||
<h3 id="orgdd28fe9"><code>.assets/common/</code></h3>
|
||
<div class="outline-text-3" id="text-orgdd28fe9">
|
||
<p>
|
||
This folder contains files shared across both window managers, such as wallpapers, shell configs, and common scripts.
|
||
</p>
|
||
|
||
<ul class="org-ul">
|
||
<li><code>conf/base.conf</code>: Defines the window manager choice and other global settings.</li>
|
||
<li><code>scripts/</code>: System-wide scripts (e.g., utilities, helpers).</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org0a5f76c" class="outline-3">
|
||
<h3 id="org0a5f76c"><code>.assets/hyprland/</code></h3>
|
||
<div class="outline-text-3" id="text-org0a5f76c">
|
||
<p>
|
||
Hyprland-specific assets, including configs, themes, and scripts.
|
||
</p>
|
||
|
||
<ul class="org-ul">
|
||
<li><code>conf/</code>: Hyprland configuration files (e.g., <code>hyprland.conf</code>).</li>
|
||
<li><code>themes/</code>: Hyprland-specific theme scripts.</li>
|
||
<li><code>scripts/</code>: Hyprland-specific scripts.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgc19d3dd" class="outline-3">
|
||
<h3 id="orgc19d3dd"><code>.assets/mangowc/</code></h3>
|
||
<div class="outline-text-3" id="text-orgc19d3dd">
|
||
<p>
|
||
Mangowc-specific assets, including configs, themes, and scripts.
|
||
</p>
|
||
|
||
<ul class="org-ul">
|
||
<li><code>conf/</code>: Mangowc configuration files.</li>
|
||
<li><code>themes/</code>: Mangowc-specific theme scripts.</li>
|
||
<li><code>scripts/</code>: Mangowc-specific scripts.</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org32537cd" class="outline-3">
|
||
<h3 id="org32537cd"><code>.assets/machines/</code></h3>
|
||
<div class="outline-text-3" id="text-org32537cd">
|
||
<p>
|
||
Machine-specific NixOS configurations (e.g., <code>configuration.nix</code> for <code>maindroid</code> and <code>traveldroid</code>).
|
||
</p>
|
||
|
||
<p>
|
||
—
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-the-actual-code" class="outline-2">
|
||
<h2 id="the-actual-code">The Actual Code   <span class="tag"><span class="code">code</span></span></h2>
|
||
<div class="outline-text-2" id="text-the-actual-code">
|
||
<p>
|
||
This section contains the Org blocks for tangling Nix code into the generated folders.
|
||
</p>
|
||
</div>
|
||
<div id="outline-container-org9e67e82" class="outline-3">
|
||
<h3 id="org9e67e82"><code>flake.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org9e67e82">
|
||
<p>
|
||
The Nix flake definition for Droidnix.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{
|
||
description = "Droidnix: A dendritic NixOS + Home Manager configuration";
|
||
|
||
inputs = {
|
||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
home-manager = {
|
||
url = "github:nix-community/home-manager";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
emacs-overlay = {
|
||
url = "github:nix-community/emacs-overlay";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
catppuccin = {
|
||
url = "github:catppuccin/nix";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
zen-browser = {
|
||
url = "github:youwen5/zen-browser-flake";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
hyprland.url = "github:hyprwm/Hyprland";
|
||
};
|
||
|
||
outputs =
|
||
inputs@{
|
||
nixpkgs,
|
||
home-manager,
|
||
emacs-overlay,
|
||
catppuccin,
|
||
zen-browser,
|
||
hyprland,
|
||
...
|
||
}:
|
||
let
|
||
lib = nixpkgs.lib;
|
||
system = "x86_64-linux"; # Define the system explicitly
|
||
user = import ./assets/flake/users/henrov.nix;
|
||
machines = [
|
||
"traveldroid"
|
||
"maindroid"
|
||
];
|
||
in
|
||
{
|
||
nixosConfigurations = lib.genAttrs machines (
|
||
machine:
|
||
lib.nixosSystem {
|
||
inherit system;
|
||
modules = [
|
||
# Import machine-specific configurations
|
||
./assets/flake/machines/${machine}/top.nix
|
||
|
||
# Home Manager and theme modules
|
||
home-manager.nixosModules.home-manager
|
||
{
|
||
home-manager.useGlobalPkgs = true;
|
||
home-manager.useUserPackages = true;
|
||
home-manager.extraSpecialArgs = { inherit user inputs; flakeRoot = ./.; };
|
||
}
|
||
inputs.catppuccin.nixosModules.catppuccin
|
||
|
||
# Let's start importing the whole generated tree
|
||
./generated/top.nix
|
||
];
|
||
specialArgs = { inherit user inputs; flakeRoot = ./.; };
|
||
}
|
||
);
|
||
|
||
devShells.${system}.default = import ./assets/flake/terminal_shell/devshell.nix {
|
||
inherit (nixpkgs) mkShell;
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgfcd63a4" class="outline-2">
|
||
<h2 id="orgfcd63a4">First the nix-files that flake really needs and that do not fit wel in the hierarchical structure</h2>
|
||
<div class="outline-text-2" id="text-orgfcd63a4">
|
||
</div>
|
||
<div id="outline-container-orgf316d0a" class="outline-3">
|
||
<h3 id="orgf316d0a"><code>assets/flake/users/henrov.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgf316d0a">
|
||
<p>
|
||
This is the default user, just search and replace henrov another name if you want to change
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{
|
||
username = "henrov";
|
||
hashedPassword = "$6$ISAmsPLyFi7idYXr$VmZsq.zMsyh1irSkyDNqtorNXG0oEHbbMVqTii1t8bymvrQ5ZQmbdi4OiBNeNYe/huHGrojXM.3TST2fTLz0T.";
|
||
homeDirectory = "/home/henrov";
|
||
stateVersion = "25.11";
|
||
locale = "nl_NL.UTF-8";
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org8971e98" class="outline-3">
|
||
<h3 id="org8971e98"><code>assets/flake/terminal_shell/devshell.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org8971e98">
|
||
<p>
|
||
This code defines a Nix shell environment (also called a "devShell") that you can enter using the nix develop command. When you enter this shell, Nix will provide the tools and dependencies listed in buildInputs.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ mkShell }:
|
||
mkShell {
|
||
buildInputs = with import <nixpkgs> {}; [
|
||
nil
|
||
nixfmt-rfc-style
|
||
];
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org1b17750" class="outline-3">
|
||
<h3 id="org1b17750"><code>assets/flake/machines/traveldroid/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org1b17750">
|
||
<p>
|
||
This code defines the machine to build. Just search and replace traveldroid to provision another machine.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
|
||
{
|
||
imports = [
|
||
./boot.nix
|
||
./hardware-configuration.nix
|
||
];
|
||
|
||
options = {
|
||
wm = lib.mkOption {
|
||
type = lib.types.str;
|
||
default = "hyprland";
|
||
description = "Type of window manager to use";
|
||
};
|
||
};
|
||
|
||
config = {
|
||
# Minimal settings that must be defined here
|
||
networking.hostName = "traveldroid";
|
||
wm.type = "hyprland";
|
||
|
||
# User configuration
|
||
users.users.${user.username} = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" "networkmanager" ];
|
||
hashedPassword = user.hashedPassword;
|
||
home = user.homeDirectory;
|
||
};
|
||
|
||
# Optional: Enable auto-login for testing
|
||
services.getty.autologinUser = user.username;
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org227c2b3" class="outline-3">
|
||
<h3 id="org227c2b3"><code>assets/flake/machines/traveldroid/boot.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org227c2b3">
|
||
<p>
|
||
This file has most of the settings the control how the computer boots up.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ pkgs, ... } :
|
||
{
|
||
boot = {
|
||
initrd = {
|
||
verbose = false; # its a lot of logs. dont need it, unless we do.
|
||
kernelModules = [ ]; # no kernel modules on boot
|
||
};
|
||
|
||
extraModulePackages = [ ]; # no extra packages on boot either
|
||
kernelPackages = pkgs.linuxPackages_latest; # latest greatest linux kernel
|
||
kernelParams = [ "silent" ]; # quiet those logs
|
||
|
||
consoleLogLevel = 0; # quiten more logs
|
||
plymouth.enable = true; # graphical boot animation instead
|
||
|
||
supportedFilesystems = [ "ntfs" ]; # should see the ntfs (windows)
|
||
|
||
loader = {
|
||
systemd-boot.enable = true; # systemd-boot
|
||
systemd-boot.configurationLimit = 10;
|
||
efi.canTouchEfiVariables = true; # allow editing efi to edit the boot loader
|
||
timeout = 5; # grub timeout to make a selection
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org377bc7d" class="outline-2">
|
||
<h2 id="org377bc7d">Now we reach the top of the hierarchy which will call all other imports</h2>
|
||
<div class="outline-text-2" id="text-org377bc7d">
|
||
</div>
|
||
<div id="outline-container-org6047952" class="outline-3">
|
||
<h3 id="org6047952"><code>generated/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org6047952">
|
||
<p>
|
||
The ./generated/top.nix file acts as an anchor or entry point for the entire chain of imports in the pyramid structure.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, ... }:
|
||
{
|
||
imports = [
|
||
./system/top.nix
|
||
./hyprland/top.nix
|
||
# ./mangowc/top.nix
|
||
];
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org2335ba5" class="outline-3">
|
||
<h3 id="org2335ba5"><code>generated/hyprland/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org2335ba5">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./hyprland.nix
|
||
./animations_effects/top.nix
|
||
./decorations/top.nix
|
||
./keyboard_binds/top.nix
|
||
./notifications/top.nix
|
||
./statusbar_tray/top.nix
|
||
./task_launcher/top.nix
|
||
./task_window_workspace_switcher/top.nix
|
||
./window_rules/top.nix
|
||
];
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org278892b" class="outline-3">
|
||
<h3 id="org278892b"><code>generated/hyprland/hyprland.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org278892b">
|
||
<p>
|
||
The ./generated/top.nix file acts as an anchor or entry point for the entire chain of imports in the pyramid structure.
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{
|
||
config,
|
||
pkgs,
|
||
lib,
|
||
user,
|
||
inputs,
|
||
flakeRoot,
|
||
...
|
||
}:
|
||
let
|
||
hyprlandConf = builtins.readFile (flakeRoot + "/assets/hyprland/conf/hyprland.conf");
|
||
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
|
||
in
|
||
{
|
||
# Nix settings to use Hyprland's cache for packages
|
||
nix.settings = {
|
||
substituters = [ "https://hyprland.cachix.org" ];
|
||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||
};
|
||
|
||
# Install Hyprland and enable it as the window manager
|
||
environment.systemPackages = with pkgs; [ hyprland ];
|
||
programs.hyprland = {
|
||
enable = true;
|
||
xwayland.enable = true;
|
||
};
|
||
|
||
# Hyprland-specific Home Manager configurations
|
||
home-manager.users.${user.username} = {
|
||
home.stateVersion = userConfig.stateVersion;
|
||
home.username = userConfig.username;
|
||
home.homeDirectory = userConfig.homeDirectory;
|
||
xdg.configFile."hypr/hyprland.conf".text = hyprlandConf;
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgde991ca" class="outline-3">
|
||
<h3 id="orgde991ca"><code>generated/mangowc/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgde991ca">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./animations_effects/top.nix
|
||
./decorations/top.nix
|
||
./keyboard_binds/top.nix
|
||
./notifications/top.nix
|
||
./statusbar_tray/top.nix
|
||
./task_launcher/top.nix
|
||
./task_window_workspace_switcher/top.nix
|
||
./window_rules/top.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgb7780f7" class="outline-3">
|
||
<h3 id="orgb7780f7"><code>generated/system/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgb7780f7">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./applications/top.nix
|
||
./core/top.nix
|
||
./development/top.nix
|
||
./system_management/top.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org585d397" class="outline-3">
|
||
<h3 id="org585d397"><code>generated/system/applications/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org585d397">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./accessibility/top.nix
|
||
./file_management/top.nix
|
||
./gaming/top.nix
|
||
./media_playback_editing/top.nix
|
||
./office_productivity/top.nix
|
||
./terminal_shell/top.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org1d741dd" class="outline-3">
|
||
<h3 id="org1d741dd"><code>generated/system/core/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org1d741dd">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./wayland.nix
|
||
./login-tuigreeter.nix
|
||
# ./login-lightdm.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org92aee5b" class="outline-3">
|
||
<h3 id="org92aee5b"><code>generated/system/core/login-tuigreeter.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org92aee5b">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ pkgs, user, ... } :
|
||
{
|
||
environment.systemPackages = with pkgs; [
|
||
tuigreet
|
||
];
|
||
services.greetd = {
|
||
enable = true;
|
||
settings = {
|
||
default_session = {
|
||
command = pkgs.lib.mkForce "${pkgs.tuigreet}/bin/tuigreet --remember --time --time-format '%I:%M %p | %a • %h | %F'";
|
||
};
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgb99a5cb" class="outline-3">
|
||
<h3 id="orgb99a5cb"><code>generated/system/core/wayland.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgb99a5cb">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, ... }:
|
||
{
|
||
# Enable essential services for a Wayland session
|
||
services.dbus.enable = true;
|
||
services.pipewire = {
|
||
enable = true;
|
||
alsa.enable = true;
|
||
pulse.enable = true;
|
||
wireplumber.enable = true;
|
||
};
|
||
|
||
# XDG Desktop Portal settings for better application integration
|
||
xdg.portal = {
|
||
enable = true;
|
||
config.common.default = [ "hyprland" "gtk" ];
|
||
};
|
||
|
||
# Environment variables for a Wayland session
|
||
environment.sessionVariables = {
|
||
XDG_SESSION_TYPE = "wayland";
|
||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||
XCURSOR_SIZE = "24";
|
||
};
|
||
|
||
# Home Manager Wayland configurations
|
||
home-manager.users.${user.username} = {
|
||
xdg.portal = {
|
||
enable = true;
|
||
extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ];
|
||
config.hyprland = {
|
||
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
|
||
};
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org9bfff18" class="outline-3">
|
||
<h3 id="org9bfff18"><code>generated/system/development/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org9bfff18">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./databases/top.nix
|
||
./devops_ci_cd/top.nix
|
||
./programming_languages/top.nix
|
||
./virtualization/top.nix
|
||
./web_development/top.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org9f59a6a" class="outline-3">
|
||
<h3 id="org9f59a6a"><code>generated/system/system_management/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org9f59a6a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./audio/top.nix
|
||
./backups/top.nix
|
||
./bluetooth/top.nix
|
||
./disk_management/top.nix
|
||
./hardware_sensors/top.nix
|
||
./logging_monitoring/top.nix
|
||
./login_manager/top.nix
|
||
./monitor_setup/top.nix
|
||
./networking/top.nix
|
||
./power_management/top.nix
|
||
./printers_scanners/top.nix
|
||
./security/top.nix
|
||
./system_updates/top.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org93601ba" class="outline-3">
|
||
<h3 id="org93601ba"><code>generated/hyprland/animations_effects/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org93601ba">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org969c6ff" class="outline-3">
|
||
<h3 id="org969c6ff"><code>generated/hyprland/decorations/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org969c6ff">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org83a87c3" class="outline-3">
|
||
<h3 id="org83a87c3"><code>generated/hyprland/keyboard_binds/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org83a87c3">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{
|
||
config,
|
||
pkgs,
|
||
lib,
|
||
user,
|
||
inputs,
|
||
flakeRoot,
|
||
...
|
||
}:
|
||
let
|
||
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
||
in
|
||
{
|
||
home-manager.users.${user.username} = {
|
||
wayland.windowManager.hyprland = {
|
||
enable = true;
|
||
extraConfig = bindingsContent;
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org2a6e46a" class="outline-3">
|
||
<h3 id="org2a6e46a"><code>generated/hyprland/notifications/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org2a6e46a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org9ff4ece" class="outline-3">
|
||
<h3 id="org9ff4ece"><code>generated/hyprland/statusbar_tray/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org9ff4ece">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org1a3c01c" class="outline-3">
|
||
<h3 id="org1a3c01c"><code>generated/hyprland/task_launcher/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org1a3c01c">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgc84872e" class="outline-3">
|
||
<h3 id="orgc84872e"><code>generated/hyprland/task_window_workspace_switcher/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgc84872e">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orge0d8ecc" class="outline-3">
|
||
<h3 id="orge0d8ecc"><code>generated/hyprland/window_rules/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orge0d8ecc">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org68ec67a" class="outline-3">
|
||
<h3 id="org68ec67a"><code>generated/mangowc/animations_effects/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org68ec67a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org2d14c88" class="outline-3">
|
||
<h3 id="org2d14c88"><code>generated/mangowc/decorations/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org2d14c88">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org47f0acd" class="outline-3">
|
||
<h3 id="org47f0acd"><code>generated/mangowc/keyboard_binds/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org47f0acd">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{
|
||
config,
|
||
pkgs,
|
||
lib,
|
||
user,
|
||
inputs,
|
||
flakeRoot,
|
||
...
|
||
}:
|
||
let
|
||
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
||
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
|
||
in
|
||
{
|
||
home-manager.users.${user.username} = {
|
||
home.stateVersion = userConfig.stateVersion;
|
||
home.username = userConfig.username;
|
||
home.homeDirectory = userConfig.homeDirectory;
|
||
wayland.windowManager.hyprland = {
|
||
enable = true;
|
||
extraConfig = bindingsContent;
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org92214b4" class="outline-3">
|
||
<h3 id="org92214b4"><code>generated/mangowc/notifications/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org92214b4">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgfb61ca9" class="outline-3">
|
||
<h3 id="orgfb61ca9"><code>generated/mangowc/statusbar_tray/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgfb61ca9">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org51bd028" class="outline-3">
|
||
<h3 id="org51bd028"><code>generated/mangowc/task_launcher/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org51bd028">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./wofi.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org22f6c65" class="outline-3">
|
||
<h3 id="org22f6c65"><code>generated/mangowc/task_launcher/wofi.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org22f6c65">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
programs.wofi = {
|
||
enable = true;
|
||
wrapGtkApps = true; # Required for GTK theming
|
||
extraPackages = with pkgs; [ wofi ];
|
||
};
|
||
|
||
# Catppuccin theme for Wofi
|
||
home-manager.users.${user.username} = {
|
||
xdg.configFile."wofi/config".text = ''
|
||
dark
|
||
width=500
|
||
height=800
|
||
lines=10
|
||
columns=1
|
||
cache_dir=${config.xdg.dataHome}/wofi
|
||
allow_images=true
|
||
allow_markup=true
|
||
show_drun=true
|
||
'';
|
||
|
||
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
||
owner = "catppuccin";
|
||
repo = "wofi";
|
||
rev = "main";
|
||
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
|
||
file = "mocha.css"; # or latte/frappe/macchiato
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org8805191" class="outline-3">
|
||
<h3 id="org8805191"><code>generated/mangowc/task_window_workspace_switcher/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org8805191">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgc90964c" class="outline-3">
|
||
<h3 id="orgc90964c"><code>generated/mangowc/window_rules/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgc90964c">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org6e24678" class="outline-3">
|
||
<h3 id="org6e24678"><code>generated/system/applications/accessibility/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org6e24678">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org47b2c9d" class="outline-3">
|
||
<h3 id="org47b2c9d"><code>generated/system/applications/file_management/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org47b2c9d">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org26961aa" class="outline-3">
|
||
<h3 id="org26961aa"><code>generated/system/applications/gaming/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org26961aa">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org4e6d64e" class="outline-3">
|
||
<h3 id="org4e6d64e"><code>generated/system/applications/media_playback_editing/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org4e6d64e">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org8406d9e" class="outline-3">
|
||
<h3 id="org8406d9e"><code>generated/system/applications/office_productivity/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org8406d9e">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org7add83f" class="outline-3">
|
||
<h3 id="org7add83f"><code>generated/system/applications/terminal_shell/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org7add83f">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
./kitty.nix
|
||
./starship.nix
|
||
./zsh.nix
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orge3a63f8" class="outline-3">
|
||
<h3 id="orge3a63f8"><code>generated/system/applications/terminal_shell/kitty.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orge3a63f8">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||
{
|
||
# NixOS-level packages (optional, if you want Kitty installed system-wide)
|
||
environment.systemPackages = with pkgs; [ kitty ];
|
||
|
||
# Home Manager configuration for Kitty
|
||
home-manager.users.${user.username} = {
|
||
programs.kitty = {
|
||
enable = true;
|
||
settings = {
|
||
font_family = "FiraCode Nerd Font Mono";
|
||
include = [ "${flakeRoot}/assets/kitty/themes/Catppuccin-Mocha.conf" ];
|
||
background_opacity = 0.60;
|
||
dynamic_background_opacity = true;
|
||
};
|
||
};
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgf98e70a" class="outline-3">
|
||
<h3 id="orgf98e70a"><code>generated/system/applications/terminal_shell/starship.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgf98e70a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||
{
|
||
# Install Starship (optional, system-wide)
|
||
environment.systemPackages = with pkgs; [ starship ];
|
||
|
||
# Home Manager configuration for Starship
|
||
home-manager.users.${user.username} = {
|
||
programs.starship = {
|
||
enable = true;
|
||
# Enable for specific shells (e.g., bash, zsh, fish)
|
||
settings = {
|
||
# Your Starship config here (e.g., theme, modules)
|
||
addNewline = false;
|
||
};
|
||
# Enable shell integration (per-shell)
|
||
shellIntegration = {
|
||
bash.enable = true;
|
||
zsh.enable = true;
|
||
fish.enable = true;
|
||
};
|
||
};
|
||
};
|
||
}
|
||
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgcf58a8b" class="outline-3">
|
||
<h3 id="orgcf58a8b"><code>generated/system/applications/terminal_shell/zsh.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgcf58a8b">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, ... }:
|
||
{
|
||
programs.zsh = {
|
||
enable = true;
|
||
enableCompletion = true;
|
||
autocd = true;
|
||
dotDir = "${config.xdg.configHome}/zsh";
|
||
oh-my-zsh = {
|
||
enable = true;
|
||
theme = "";
|
||
plugins = [
|
||
"git"
|
||
"sudo"
|
||
"extract"
|
||
"colored-man-pages"
|
||
"command-not-found"
|
||
"history"
|
||
"docker"
|
||
"kubectl"
|
||
];
|
||
};
|
||
autosuggestion.enable = true;
|
||
syntaxHighlighting.enable = true;
|
||
};
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org46a288c" class="outline-3">
|
||
<h3 id="org46a288c"><code>generated/system/development/databases/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org46a288c">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgf094b4a" class="outline-3">
|
||
<h3 id="orgf094b4a"><code>generated/system/development/devops_ci_cd/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgf094b4a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org767722b" class="outline-3">
|
||
<h3 id="org767722b"><code>generated/system/development/programming_languages/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org767722b">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org5e1c7d2" class="outline-3">
|
||
<h3 id="org5e1c7d2"><code>generated/system/development/virtualization/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org5e1c7d2">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgbbb2c53" class="outline-3">
|
||
<h3 id="orgbbb2c53"><code>generated/system/development/web_development/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgbbb2c53">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org48fc61a" class="outline-3">
|
||
<h3 id="org48fc61a"><code>generated/system/system_management/audio/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org48fc61a">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org90a6307" class="outline-3">
|
||
<h3 id="org90a6307"><code>generated/system/system_management/backups/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org90a6307">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org4d56ca8" class="outline-3">
|
||
<h3 id="org4d56ca8"><code>generated/system/system_management/bluetooth/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org4d56ca8">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgcddfe75" class="outline-3">
|
||
<h3 id="orgcddfe75"><code>generated/system/system_management/disk_management/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgcddfe75">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orge3b80fe" class="outline-3">
|
||
<h3 id="orge3b80fe"><code>generated/system/system_management/hardware_sensors/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orge3b80fe">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org85c77d2" class="outline-3">
|
||
<h3 id="org85c77d2"><code>generated/system/system_management/logging_monitoring/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org85c77d2">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org9937896" class="outline-3">
|
||
<h3 id="org9937896"><code>generated/system/system_management/login_manager/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org9937896">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org386deee" class="outline-3">
|
||
<h3 id="org386deee"><code>generated/system/system_management/monitor_setup/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org386deee">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org10ec09b" class="outline-3">
|
||
<h3 id="org10ec09b"><code>generated/system/system_management/networking/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org10ec09b">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-orgf33fe65" class="outline-3">
|
||
<h3 id="orgf33fe65"><code>generated/system/system_management/power_management/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-orgf33fe65">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org02efa66" class="outline-3">
|
||
<h3 id="org02efa66"><code>generated/system/system_management/printers_scanners/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org02efa66">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org25ec3c1" class="outline-3">
|
||
<h3 id="org25ec3c1"><code>generated/system/system_management/security/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org25ec3c1">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="outline-container-org6d1d04d" class="outline-3">
|
||
<h3 id="org6d1d04d"><code>generated/system/system_management/system_updates/top.nix</code></h3>
|
||
<div class="outline-text-3" id="text-org6d1d04d">
|
||
<p>
|
||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||
</p>
|
||
<div class="org-src-container">
|
||
<pre class="src src-nix">{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||
{
|
||
imports = [
|
||
# No subfolders to import
|
||
];
|
||
# .. put any code here
|
||
}
|
||
</pre>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div id="postamble" class="status">
|
||
<p class="author">Author: Henro Veijer</p>
|
||
<p class="date">Created: 2026-03-07 za 22:59</p>
|
||
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
||
</div>
|
||
</body>
|
||
</html>
|