Browse Source

Update script naming convention

main
parent
commit
4fdb98e882
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 176
      README.org
  2. 1
      flake.nix
  3. 1
      modules/emacs.nix
  4. 2
      modules/nvidia.nix

176
README.org

@ -500,6 +500,7 @@ acernitro = nixpkgs.lib.nixosSystem {
./hosts/acernitro
<<module-x11>>
<<module-ssh>>
<<module-hugo>>
<<module-flakes>>
<<module-cachix>>
<<module-nvidia>>
@ -995,6 +996,31 @@ Apply some configuration to the default settings:
}
#+END_SRC
** Hugo
#+NAME: module-hugo
#+BEGIN_SRC nix
./modules/hugo.nix
#+END_SRC
Hugo[fn:28] is one of the most popular open-source static site generators.
#+BEGIN_SRC nix :noweb yes :tangle modules/hugo.nix
{ config, pkgs, ... }:
let
myUpdateSite = pkgs.writeShellScriptBin "dotfiles-update-site" ''
rsync -aP /etc/dotfiles/docs/public ubuntu@chrishayward.xyz:/var/www/chrishayward
'';
in {
environment.systemPackages = [
pkgs.hugo
myUpdateSite
];
}
#+END_SRC
** Flakes
#+NAME: module-flakes
@ -1002,7 +1028,7 @@ Apply some configuration to the default settings:
./modules/flakes.nix
#+END_SRC
Nix Flakes[fn:28] are an upcoming feature of the Nix package manager[fn:5]. They allow you to specify your codes dependencies in a declarative way, simply by listing them inside of a ~flake.nix~ file. Each dependency is then pinned to a specific git-hash. Flakes[fn:28] replace the =nix-channels= command and things like ~builtins.fetchGit~, keeping dependencies at the top of the tree, and channels always in sync. Currently, Flakes[fn:28] are not available unless explicitly enabled.
Nix Flakes[fn:29] are an upcoming feature of the Nix package manager[fn:5]. They allow you to specify your codes dependencies in a declarative way, simply by listing them inside of a ~flake.nix~ file. Each dependency is then pinned to a specific git-hash. Flakes[fn:29] replace the =nix-channels= command and things like ~builtins.fetchGit~, keeping dependencies at the top of the tree, and channels always in sync. Currently, Flakes[fn:29] are not available unless explicitly enabled.
#+BEGIN_SRC nix :noweb yes :tangle modules/flakes.nix
# <<file-warning>>
@ -1030,7 +1056,7 @@ Nix Flakes[fn:28] are an upcoming feature of the Nix package manager[fn:5]. They
./modules/cachix.nix
#+END_SRC
Cachix[fn:29] is a Command line client for Nix[fn:5] binary cache hosting. This allows downloading and usage of pre-compiled binaries for applications on /nearly/ every available system architecture. This speeds up the time it takes to rebuild configurations.
Cachix[fn:30] is a Command line client for Nix[fn:5] binary cache hosting. This allows downloading and usage of pre-compiled binaries for applications on /nearly/ every available system architecture. This speeds up the time it takes to rebuild configurations.
#+BEGIN_SRC nix :noweb yes :tangle modules/cachix.nix
# <<file-warning>>
@ -1055,7 +1081,7 @@ Cachix[fn:29] is a Command line client for Nix[fn:5] binary cache hosting. This
./modules/docker.nix
#+END_SRC
Docker [fn:30] is a set of platform as a service that uses OS level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels.
Docker [fn:31] is a set of platform as a service that uses OS level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels.
#+BEGIN_SRC nix :noweb yes :tangle modules/docker.nix
{ config, pkgs, ... }:
@ -1082,7 +1108,7 @@ Docker [fn:30] is a set of platform as a service that uses OS level virtualizati
let
myIntelBusId = "PCI:0:2:0";
myNvidiaBusId = "PCI:1:0:0";
myNvidiaOffload = pkgs.writeShellScriptBin "nvidia-offload" ''
myNvidiaOffload = pkgs.writeShellScriptBin "dotfiles-nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
@ -1121,7 +1147,7 @@ in {
./modules/firefox.nix
#+END_SRC
Firefox Browser[fn:31], also known as Mozilla Firefox or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards. In 2017, Firefox began incorporating new technology under the code name Quantum to promote parallelism and a more intuitive user interface.
Firefox Browser[fn:32], also known as Mozilla Firefox or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards. In 2017, Firefox began incorporating new technology under the code name Quantum to promote parallelism and a more intuitive user interface.
#+BEGIN_SRC nix :noweb yes :tangle modules/firefox.nix
# <<file-warning>>
@ -1142,7 +1168,7 @@ Firefox Browser[fn:31], also known as Mozilla Firefox or simply Firefox, is a fr
./modules/jellyfin.nix
#+END_SRC
Jellyfin[fn:32] is a suite of multimedia applications designed to organize, manage, and share digital media files to networked devices. It consists of a server application installed on a machine, and another application running as a client on devices such as Smartphones, Tablets, SmartTVs, Streaming Media Players, Game Consoles, or in a Web Browser. It can also serve media to DLNA and Chromecast enabled devices. It's free and open-source software fork of Emby.
Jellyfin[fn:33] is a suite of multimedia applications designed to organize, manage, and share digital media files to networked devices. It consists of a server application installed on a machine, and another application running as a client on devices such as Smartphones, Tablets, SmartTVs, Streaming Media Players, Game Consoles, or in a Web Browser. It can also serve media to DLNA and Chromecast enabled devices. It's free and open-source software fork of Emby.
#+BEGIN_SRC nix :noweb yes :tangle modules/jellyfin.nix
# <<file-warning>>
@ -1162,7 +1188,7 @@ Jellyfin[fn:32] is a suite of multimedia applications designed to organize, mana
./modules/moonlight.nix
#+END_SRC
Moonlight[fn:33] is an open-source implementation of NVIDIA's GameStream Protocol. You can stream your collection of PC games from your GameStream-compatible PC to any supported device and play them remotely. Moonlight[fn:33] is perfect for gaming on the go (or on GNU/Linux[fn:1]) without sacrificing the graphics and game selection available for the PC.
Moonlight[fn:34] is an open-source implementation of NVIDIA's GameStream Protocol. You can stream your collection of PC games from your GameStream-compatible PC to any supported device and play them remotely. Moonlight[fn:34] is perfect for gaming on the go (or on GNU/Linux[fn:1]) without sacrificing the graphics and game selection available for the PC.
#+BEGIN_SRC nix :noweb yes :tangle modules/moonlight.nix
# <<file-warning>>
@ -1182,7 +1208,7 @@ Moonlight[fn:33] is an open-source implementation of NVIDIA's GameStream Protoco
./modules/teamviewer.nix
#+END_SRC
The Teamviewer[fn:34] remote connectivity cloud platform enables secure remote access to any device, across platforms, from anywhere, anytime. Teamviewer[fn:34] connects computers, smartphones, servers, IoT devices, robots -- anything -- with fast, high performance connections through their global access network. It has been used in outer-space low-bandwidth environments.
The Teamviewer[fn:35] remote connectivity cloud platform enables secure remote access to any device, across platforms, from anywhere, anytime. Teamviewer[fn:35] connects computers, smartphones, servers, IoT devices, robots -- anything -- with fast, high performance connections through their global access network. It has been used in outer-space low-bandwidth environments.
#+BEGIN_SRC nix :noweb yes :tangle modules/teamviewer.nix
# <<file-warning>>
@ -1226,7 +1252,7 @@ inputs.home-manager.nixosModules.home-manager {
./modules/git.nix
#+END_SRC
Git[fn:35] is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn, has a tiny footprint, and lighting fast performance. It outclasses every other version control tool such as: SCM, Subversion, CVS, ClearCase, with features like cheap local branching, convinient staging areas, and multiple workflows.
Git[fn:36] is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn, has a tiny footprint, and lighting fast performance. It outclasses every other version control tool such as: SCM, Subversion, CVS, ClearCase, with features like cheap local branching, convinient staging areas, and multiple workflows.
#+BEGIN_SRC nix :noweb yes :tangle modules/git.nix
# <<file-warning>>
@ -1253,7 +1279,7 @@ Git[fn:35] is a free and open source distributed version control system designed
./modules/gpg.nix
#+END_SRC
GNU Privacy Guard[fn:36] is a free-software replacement for Symantec's PGP cryptographic software suite. It is compliant with RFC 4880, the IETF standards-track specification of OpenPGP. Modern versions of PGP are interoperable with GnuPG and other OpenPGP-compliant systems.
GNU Privacy Guard[fn:37] is a free-software replacement for Symantec's PGP cryptographic software suite. It is compliant with RFC 4880, the IETF standards-track specification of OpenPGP. Modern versions of PGP are interoperable with GnuPG and other OpenPGP-compliant systems.
#+BEGIN_SRC nix :noweb yes :tangle modules/gpg.nix
# <<file-warning>>
@ -1276,7 +1302,7 @@ GNU Privacy Guard[fn:36] is a free-software replacement for Symantec's PGP crypt
./modules/vim.nix
#+END_SRC
Neovim[fn:37] is a project that seeks to aggressively refactor Vim in order to:
Neovim[fn:38] is a project that seeks to aggressively refactor Vim in order to:
+ Simplify maintenance and encourage contributions
+ Split the work between multiple developers
@ -1316,7 +1342,7 @@ Neovim[fn:37] is a project that seeks to aggressively refactor Vim in order to:
./modules/gtk.nix
#+END_SRC
GTK[fn:38] is a free and open-source, cross-platform widget toolkit for graphical user interfaces. It's one of the most popular toolkits for the Wayland[fn:26] and X11[fn:25] windowing systems.
GTK[fn:39] is a free and open-source, cross-platform widget toolkit for graphical user interfaces. It's one of the most popular toolkits for the Wayland[fn:26] and X11[fn:25] windowing systems.
#+BEGIN_SRC nix :noweb yes :tangle modules/gtk.nix
# <<file-warning>>
@ -1356,7 +1382,7 @@ GTK[fn:38] is a free and open-source, cross-platform widget toolkit for graphica
./modules/emacs.nix
#+END_SRC
GNU/Emacs[fn:2] is an extensible, customizable, free/libre text editor -- and more. At its core is an interpreter for Emacs Lisp[fn:36], a dialect of the Lisp programming language with extensions to support text editing. Other features include:
GNU/Emacs[fn:2] is an extensible, customizable, free/libre text editor -- and more. At its core is an interpreter for Emacs Lisp[fn:37], a dialect of the Lisp programming language with extensions to support text editing. Other features include:
+ Highly customizable
+ Full Unicopde support
@ -1418,7 +1444,6 @@ let
in {
home.packages = [
<<emacs-exwm-extras>>
<<emacs-hugo-extras>>
<<emacs-pass-extras>>
<<emacs-mu4e-extras>>
<<emacs-aspell-extras>>
@ -1573,7 +1598,7 @@ Define some methods for interaction between GNU/Emacs[fn:2], and the systems und
pkgs.nixfmt
#+END_SRC
Nix-mode[fn:39] is an Emacs[fn:2] major mode for editing Nix[fn:5] expressions. This provides basic handling of =.nix= files. Syntax highlighting and indentation support using =SMIE= are provided.
Nix-mode[fn:40] is an Emacs[fn:2] major mode for editing Nix[fn:5] expressions. This provides basic handling of =.nix= files. Syntax highlighting and indentation support using =SMIE= are provided.
#+NAME: emacs-nix-mode-package
#+BEGIN_SRC nix
@ -1582,7 +1607,7 @@ epkgs.nix-mode
** Evil Mode
Evil[fn:21] is an extensible VI layer for GNU/Emacs[fn:2]. It emulates the main features of Vim[fn:37], turning GNU/Emacs[fn:2] into a modal editor.
Evil[fn:21] is an extensible VI layer for GNU/Emacs[fn:2]. It emulates the main features of Vim[fn:38], turning GNU/Emacs[fn:2] into a modal editor.
#+NAME: emacs-evil-package
#+BEGIN_SRC nix
@ -1592,7 +1617,7 @@ epkgs.evil-surround
epkgs.evil-nerd-commenter
#+END_SRC
The next time Emacs[fn:2] is started, it will come up in /normal state/, denoted by =<N>= in the modeline. This is where the main ~vi~ bindings are defined. Like Emacs[fn:2] in general, Evil[fn:21] is extensible in Emacs Lisp[fn:36].
The next time Emacs[fn:2] is started, it will come up in /normal state/, denoted by =<N>= in the modeline. This is where the main ~vi~ bindings are defined. Like Emacs[fn:2] in general, Evil[fn:21] is extensible in Emacs Lisp[fn:37].
#+NAME: emacs-evil-elisp
#+BEGIN_SRC emacs-lisp
@ -1702,7 +1727,7 @@ home.file.".xinitrc" = {
epkgs.general
#+END_SRC
General[fn:40] provides a more convenient method for binding keys in Emacs[fn:2], providing a unified interface for key definitions. Its primary purpose is to build on /existing/ functionality to make key definitions more clear and concise.
General[fn:41] provides a more convenient method for binding keys in Emacs[fn:2], providing a unified interface for key definitions. Its primary purpose is to build on /existing/ functionality to make key definitions more clear and concise.
#+NAME: emacs-general-elisp
#+BEGIN_SRC emacs-lisp
@ -1755,7 +1780,7 @@ General[fn:40] provides a more convenient method for binding keys in Emacs[fn:2]
** Which Key
Which-key[fn:41] is a minor mode for Emacs[fn:2] that displays the key bindings following your currently entered incomplete command (prefix) in a popup or mini-buffer.
Which-key[fn:42] is a minor mode for Emacs[fn:2] that displays the key bindings following your currently entered incomplete command (prefix) in a popup or mini-buffer.
#+NAME: emacs-which-key-package
#+BEGIN_SRC nix
@ -1772,7 +1797,7 @@ epkgs.which-key
** EWW
The Emacs Web Wowser[fn:42] is a Web browser written in Emacs Lisp[fn:36] based on the ~shr.el~ library. It's my primary browser when it comes to text-based browsing.
The Emacs Web Wowser[fn:43] is a Web browser written in Emacs Lisp[fn:37] based on the ~shr.el~ library. It's my primary browser when it comes to text-based browsing.
+ Use ~eww~ as the default browser
+ Don't use any special fonts or colours
@ -1789,7 +1814,7 @@ The Emacs Web Wowser[fn:42] is a Web browser written in Emacs Lisp[fn:36] based
** ERC
ERC[fn:43] is a powerful, modular, and extensible IRC client for GNU/Emacs[fn:2]. It's part of the GNU project, and included in Emacs.
ERC[fn:44] is a powerful, modular, and extensible IRC client for GNU/Emacs[fn:2]. It's part of the GNU project, and included in Emacs.
#+NAME: emacs-erc-elisp
#+BEGIN_SRC emacs-lisp
@ -1820,7 +1845,7 @@ ERC[fn:43] is a powerful, modular, and extensible IRC client for GNU/Emacs[fn:2]
epkgs.dired-single
#+END_SRC
Dired[fn:44] shows a directory listing inside of an Emacs[fn:2] buffer that can be used to perform various file operations on files and subdirectories. THe operations you can perform are numerous, from creating subdirectories, byte-compiling files, searching, and editing files. Dired-Extra[fn:45] provides extra functionality for Dired[fn:44].
Dired[fn:45] shows a directory listing inside of an Emacs[fn:2] buffer that can be used to perform various file operations on files and subdirectories. THe operations you can perform are numerous, from creating subdirectories, byte-compiling files, searching, and editing files. Dired-Extra[fn:46] provides extra functionality for Dired[fn:45].
#+NAME: emacs-dired-elisp
#+BEGIN_SRC emacs-lisp
@ -1847,7 +1872,7 @@ epkgs.all-the-icons
epkgs.all-the-icons-dired
#+END_SRC
All The Icons[fn:46] is a utility package to collect various Icon Fonts and prioritize them within GNU/Emacs[fn:2].
All The Icons[fn:47] is a utility package to collect various Icon Fonts and prioritize them within GNU/Emacs[fn:2].
#+NAME: emacs-icons-elisp
#+BEGIN_SRC emacs-lisp
@ -1865,7 +1890,7 @@ All The Icons[fn:46] is a utility package to collect various Icon Fonts and prio
epkgs.emojify
#+END_SRC
Emojify[fn:47] is an Emacs[fn:2] extension to display Emojis. It can display GitHub style Emojis like :smile: or plain ascii ones such as :). It tries to be as efficient as possible, while also providing flexibility.
Emojify[fn:48] is an Emacs[fn:2] extension to display Emojis. It can display GitHub style Emojis like :smile: or plain ascii ones such as :). It tries to be as efficient as possible, while also providing flexibility.
#+NAME: emacs-emoji-elisp
#+BEGIN_SRC emacs-lisp
@ -1880,7 +1905,7 @@ Emojify[fn:47] is an Emacs[fn:2] extension to display Emojis. It can display Git
epkgs.eshell-prompt-extras
#+END_SRC
EShell [fn:48] is a shell-like command interpreter for GNU/Emacs[fn:2] implemented in Emacs Lisp[fn:36]. It invokes no external processes except for those requested by the user. It's intended to be an alternative for IELM, and a full REPL envionment for Emacs[fn:2].
EShell [fn:49] is a shell-like command interpreter for GNU/Emacs[fn:2] implemented in Emacs Lisp[fn:37]. It invokes no external processes except for those requested by the user. It's intended to be an alternative for IELM, and a full REPL envionment for Emacs[fn:2].
#+NAME: emacs-eshell-elisp
#+BEGIN_SRC emacs-lisp
@ -1899,7 +1924,7 @@ EShell [fn:48] is a shell-like command interpreter for GNU/Emacs[fn:2] implement
** VTerm
Emacs Libvterm (VTerm)[fn:49] is a fully-fledged terminal emulator inside GNU/Emacs[fn:2] based on Libvterm[fn:50], a blazing fast C library used in Neovim[fn:37]. As a result of using compiled code (instead of Emacs Lisp[fn:36]), VTerm[fn:49] is capable, fast, and it can seamlessly handle large outputs.
Emacs Libvterm (VTerm)[fn:50] is a fully-fledged terminal emulator inside GNU/Emacs[fn:2] based on Libvterm[fn:51], a blazing fast C library used in Neovim[fn:38]. As a result of using compiled code (instead of Emacs Lisp[fn:37]), VTerm[fn:50] is capable, fast, and it can seamlessly handle large outputs.
#+NAME: emacs-vterm-package
#+BEGIN_SRC nix
@ -1915,7 +1940,7 @@ epkgs.vterm
** Magit
Magit[fn:51] is an interface to the Git[fn:35] version control system, implemented as a GNU/Emacs[fn:2] package written in Elisp[fn:36]. It fills the glaring gap between the Git[fn:35] command line interface and various GUIs, letting you perform trivial as well as elaborate version control tasks within a few mnemonic key presses.
Magit[fn:52] is an interface to the Git[fn:36] version control system, implemented as a GNU/Emacs[fn:2] package written in Elisp[fn:37]. It fills the glaring gap between the Git[fn:36] command line interface and various GUIs, letting you perform trivial as well as elaborate version control tasks within a few mnemonic key presses.
#+NAME: emacs-magit-package
#+BEGIN_SRC nix
@ -1978,7 +2003,7 @@ epkgs.hydra
epkgs.elfeed
#+END_SRC
Elfeed[fn:52] is an extensible web feed reader for GNU/Emacs[fn:2], support both =Atom= and =RSS=. It requires =Emacs 24.3+= and is available for download from the standard repositories.
Elfeed[fn:53] is an extensible web feed reader for GNU/Emacs[fn:2], support both =Atom= and =RSS=. It requires =Emacs 24.3+= and is available for download from the standard repositories.
| Key | Command |
|-----+---------|
@ -2012,7 +2037,7 @@ Elfeed[fn:52] is an extensible web feed reader for GNU/Emacs[fn:2], support both
epkgs.org
#+END_SRC
Org-mode[fn:53] is a document editing and organizing mode, designed for notes, planning, and authoring within the free software text editor GNU/Emacs[fn:2]. The name is used to encompass plain text files (such as this one) that include simple marks to indicate levels of a hierarchy, and an editor with functions that can read the markup and manipulate the hierarchy elements.
Org-mode[fn:54] is a document editing and organizing mode, designed for notes, planning, and authoring within the free software text editor GNU/Emacs[fn:2]. The name is used to encompass plain text files (such as this one) that include simple marks to indicate levels of a hierarchy, and an editor with functions that can read the markup and manipulate the hierarchy elements.
#+NAME: emacs-org-elisp
#+BEGIN_SRC emacs-lisp
@ -2055,7 +2080,7 @@ epkgs.org-roam
epkgs.org-roam-server
#+END_SRC
Org Roam[fn:54] is a plain-text knowledge management system. It borrows principles from the Zettelkasten method[fn:55], providing a solution for non-hierarchical note-taking. It should also work as a plug-and-play solution for anyone already using Org Mode[fn:53] for their personal wiki (me). Org Roam Server[fn:56] is a Web application to visualize the Org Roam[fn:54] database. Although it should automatically reload if there's a change in the database, it can be done so manually by clicking the =reload= button on the Web interface.
Org Roam[fn:55] is a plain-text knowledge management system. It borrows principles from the Zettelkasten method[fn:56], providing a solution for non-hierarchical note-taking. It should also work as a plug-and-play solution for anyone already using Org Mode[fn:54] for their personal wiki (me). Org Roam Server[fn:57] is a Web application to visualize the Org Roam[fn:55] database. Although it should automatically reload if there's a change in the database, it can be done so manually by clicking the =reload= button on the Web interface.
#+NAME: emacs-org-roam-elisp
#+BEGIN_SRC emacs-lisp
@ -2165,7 +2190,7 @@ Org Roam[fn:54] is a plain-text knowledge management system. It borrows principl
epkgs.org-drill
#+END_SRC
Org Drill[fn:57] is an extension for Org Mode[fn:53] that uses a spaced repition algorithm to conduct interactive /Drill Sessions/ using Org files as sources of facts to be memorized.
Org Drill[fn:58] is an extension for Org Mode[fn:54] that uses a spaced repition algorithm to conduct interactive /Drill Sessions/ using Org files as sources of facts to be memorized.
#+NAME: emacs-org-drill-elisp
#+BEGIN_SRC emacs-lisp
@ -2179,7 +2204,7 @@ Org Drill[fn:57] is an extension for Org Mode[fn:53] that uses a spaced repition
** Org Agenda
The way Org Mode[fn:53] works, TODO items, time-stamped items, and tagged headlines can be scattered throughout a file, or even a number of files. To get an overview of open action items, or of events that are important for a particular date, this information must be collected, sorted, and displayed in an organized way.
The way Org Mode[fn:54] works, TODO items, time-stamped items, and tagged headlines can be scattered throughout a file, or even a number of files. To get an overview of open action items, or of events that are important for a particular date, this information must be collected, sorted, and displayed in an organized way.
#+NAME: emacs-org-agenda-elisp
#+BEGIN_SRC emacs-lisp
@ -2211,7 +2236,7 @@ The way Org Mode[fn:53] works, TODO items, time-stamped items, and tagged headli
epkgs.org-pomodoro
#+END_SRC
Org Pomodoro[fn:58] adds basic support for the Pomodoro Technique[fn:59] in GNU/Emacs[fn:2]. It can be started for the task at point, or the last task time was clocked for. Each session starts a timer of 25 minutes, finishing with a break of 5 minutes. After 4 sessions, ther will be a break of 20 minutes. All values are customizable.
Org Pomodoro[fn:59] adds basic support for the Pomodoro Technique[fn:60] in GNU/Emacs[fn:2]. It can be started for the task at point, or the last task time was clocked for. Each session starts a timer of 25 minutes, finishing with a break of 5 minutes. After 4 sessions, ther will be a break of 20 minutes. All values are customizable.
#+NAME: emacs-pomodoro-elisp
#+BEGIN_SRC emacs-lisp
@ -2231,7 +2256,7 @@ Org Pomodoro[fn:58] adds basic support for the Pomodoro Technique[fn:59] in GNU/
epkgs.writegood-mode
#+END_SRC
Writegood Mode[fn:60] is an Emacs[fn:2] minor mode to aid in finding common writing problems. It highlights the text based on the following criteria:
Writegood Mode[fn:61] is an Emacs[fn:2] minor mode to aid in finding common writing problems. It highlights the text based on the following criteria:
+ Weasel Words
+ Passive Voice
@ -2254,7 +2279,7 @@ pkgs.aspellDicts.en-science
pkgs.aspellDicts.en-computers
#+END_SRC
GNU Aspell[fn:61] is a Free and Open Source spell checker designed to replace ISpell. It can be used as a library, or an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for mis-spelled words than any other spell checker for the English language.
GNU Aspell[fn:62] is a Free and Open Source spell checker designed to replace ISpell. It can be used as a library, or an independent spell checker. Its main feature is that it does a superior job of suggesting possible replacements for mis-spelled words than any other spell checker for the English language.
#+NAME: emacs-aspell-elisp
#+BEGIN_SRC emacs-lisp
@ -2269,19 +2294,12 @@ GNU Aspell[fn:61] is a Free and Open Source spell checker designed to replace IS
** Hugo
#+NAME: emacs-hugo-extras
#+BEGIN_SRC nix
pkgs.hugo
#+END_SRC
Hugo[fn:62] is one of the most popular open-source static site generators.
#+NAME: emacs-hugo-package
#+BEGIN_SRC nix
epkgs.ox-hugo
#+END_SRC
Ox-Hugo[fn:63] is an Org-Mode[fn:53] exporter for Hugo[fn:62] compabile markdown. I post nonsense on my Personal Blog[fn:64], and share my notes on various textbooks, articles, and software Here[fn:65].
Ox-Hugo[fn:63] is an Org-Mode[fn:54] exporter for Hugo[fn:28] compabile markdown. I post nonsense on my Personal Blog[fn:64], and share my notes on various textbooks, articles, and software Here[fn:65].
#+NAME: emacs-hugo-elisp
#+BEGIN_SRC emacs-lisp
@ -2341,7 +2359,7 @@ Ox-Hugo[fn:63] is an Org-Mode[fn:53] exporter for Hugo[fn:62] compabile markdown
epkgs.ox-reveal
#+END_SRC
Reveal.js[fn:66] is an open source HTML presentation framework. It enables anyone with a web browser to create fully-featured and beautiful presentations for free. Presentations with Reveal.js[fn:66] are built on open web technologies. That means anything you can do on the web, you can do in your presentation. Ox Reveal[fn:67] is an Org Mode[fn:53] export backend.
Reveal.js[fn:66] is an open source HTML presentation framework. It enables anyone with a web browser to create fully-featured and beautiful presentations for free. Presentations with Reveal.js[fn:66] are built on open web technologies. That means anything you can do on the web, you can do in your presentation. Ox Reveal[fn:67] is an Org Mode[fn:54] export backend.
#+NAME: emacs-reveal-elisp
#+BEGIN_SRC emacs-lisp
@ -2828,75 +2846,75 @@ Doom Modeline[fn:80] is a fancy and fast modeline inspired by minimalism design.
[fn:27] https://openssh.com
[fn:28] https://nixos.wiki/wiki/Flakes
[fn:28] https://gohugo.io
[fn:29] https://nix-community.cachix.org
[fn:29] https://nixos.wiki/wiki/Flakes
[fn:30] https://docker.org
[fn:30] https://nix-community.cachix.org
[fn:31] https://en.wikipedia.org/wiki/Firefox
[fn:31] https://docker.org
[fn:32] https://jellyfin.org
[fn:32] https://en.wikipedia.org/wiki/Firefox
[fn:33] https://moonlight-stream.org
[fn:33] https://jellyfin.org
[fn:34] https://teamviewer.com
[fn:34] https://moonlight-stream.org
[fn:35] https://git-scm.com
[fn:35] https://teamviewer.com
[fn:36] https://emacswiki.org/emacs/LearnEmacsLisp
[fn:36] https://git-scm.com
[fn:37] https://neovim.io
[fn:37] https://emacswiki.org/emacs/LearnEmacsLisp
[fn:38] https://gtk.org
[fn:38] https://neovim.io
[fn:39] https://github.com/nixos/nix-mode
[fn:39] https://gtk.org
[fn:40] https://github.com/noctuid/general.el
[fn:40] https://github.com/nixos/nix-mode
[fn:41] https://github.com/justbur/emacs-which-key
[fn:41] https://github.com/noctuid/general.el
[fn:42] https://emacswiki.org/emacs/eww
[fn:42] https://github.com/justbur/emacs-which-key
[fn:43] https://gnu.org/software/emacs/erc.html
[fn:43] https://emacswiki.org/emacs/eww
[fn:44] https://emacswiki.org/emacs/DiredMode
[fn:44] https://gnu.org/software/emacs/erc.html
[fn:45] https://emacswiki.org/emacs/DiredExtra#Dired_X
[fn:45] https://emacswiki.org/emacs/DiredMode
[fn:46] https://github.com/domtronn/all-the-icons.el
[fn:46] https://emacswiki.org/emacs/DiredExtra#Dired_X
[fn:47] https://github.com/iqbalansari/emacs-emojify
[fn:47] https://github.com/domtronn/all-the-icons.el
[fn:48] https://gnu.org/software/emacs/manual/html_mono/eshell.html
[fn:48] https://github.com/iqbalansari/emacs-emojify
[fn:49] https://github.com/akermu/emacs-libvterm
[fn:49] https://gnu.org/software/emacs/manual/html_mono/eshell.html
[fn:50] https://github.com/neovim/libvterm
[fn:50] https://github.com/akermu/emacs-libvterm
[fn:51] https://magit.vc
[fn:51] https://github.com/neovim/libvterm
[fn:52] https://github.com/skeeto/elfeed
[fn:52] https://magit.vc
[fn:53] https://orgmode.org
[fn:53] https://github.com/skeeto/elfeed
[fn:54] https://github.com/org-roam/org-roam
[fn:54] https://orgmode.org
[fn:55] https://zettelkasten.de
[fn:55] https://github.com/org-roam/org-roam
[fn:56] https://github.com/org-roam/org-roam-server
[fn:56] https://zettelkasten.de
[fn:57] https://orgmode.org/worg/org-contrib/org-drill.html
[fn:57] https://github.com/org-roam/org-roam-server
[fn:58] https://github.com/marcinkoziej/org-pomodoro
[fn:58] https://orgmode.org/worg/org-contrib/org-drill.html
[fn:59] https://en.wikipedia.org/wiki/Pomodoro_Technique
[fn:59] https://github.com/marcinkoziej/org-pomodoro
[fn:60] https://github.com/bnbeckwith/writegood-mode
[fn:60] https://en.wikipedia.org/wiki/Pomodoro_Technique
[fn:61] https://aspell.net
[fn:61] https://github.com/bnbeckwith/writegood-mode
[fn:62] https://gohugo.io
[fn:62] https://aspell.net
[fn:63] https://oxhugo.scripter.co

1
flake.nix

@ -46,6 +46,7 @@
./hosts/acernitro
./modules/x11.nix
./modules/ssh.nix
./modules/hugo.nix
./modules/flakes.nix
./modules/cachix.nix
./modules/nvidia.nix

1
modules/emacs.nix

@ -62,7 +62,6 @@ in {
home.packages = [
pkgs.nitrogen
pkgs.autorandr
pkgs.hugo
pkgs.pass
pkgs.mu
pkgs.isync

2
modules/nvidia.nix

@ -3,7 +3,7 @@
let
myIntelBusId = "PCI:0:2:0";
myNvidiaBusId = "PCI:1:0:0";
myNvidiaOffload = pkgs.writeShellScriptBin "nvidia-offload" ''
myNvidiaOffload = pkgs.writeShellScriptBin "dotfiles-nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia

Loading…
Cancel
Save