@ -43,9 +43,9 @@ This file is controlled by /etc/dotfiles/README.org
The ~nixos-rebuild~ command updates the system so that it corresponds to the configuration specified in the module. It builds the new system in =/nix/store/=, runs the activation scripts, and restarts and system services (if needed). The command has one required argument, which specifies the desired operation:
The ~nixos-rebuild~ command updates the system so that it corresponds to the configuration specified in the module. It builds the new system in =/nix/store/=, runs the activation scripts, and restarts and system services (if needed). The command has one required argument, which specifies the desired operation:
+ switch :: Build and activate the new configuration, making it the new boot default
+ boot :: Build the new configuration and make it the boot default, without activation
+ boot :: Build the new configuration and make it the boot default, without activation
+ test :: Build and activate the new configuration, without adding it to the boot menu
+ test :: Build and activate the new configuration, without adding it to the boot menu
+ switch :: Build and activate the new configuration, making it the new boot default
+ build :: Build the new configuration, without activation, nor adding it to the boot menu
+ build :: Build the new configuration, without activation, nor adding it to the boot menu
+ build-vm :: Build a script that starts a virtual machine with the desired configuration
+ build-vm :: Build a script that starts a virtual machine with the desired configuration
@ -1090,6 +1090,7 @@ let
<<emacs-company-package>>
<<emacs-company-package>>
<<emacs-golang-package>>
<<emacs-golang-package>>
<<emacs-python-package>>
<<emacs-python-package>>
<<emacs-rustic-package>>
<<emacs-plantuml-package>>
<<emacs-plantuml-package>>
<<emacs-swiper-package>>
<<emacs-swiper-package>>
<<emacs-desktop-package>>
<<emacs-desktop-package>>
@ -1158,6 +1159,7 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali
<<emacs-company-elisp>>
<<emacs-company-elisp>>
<<emacs-golang-elisp>>
<<emacs-golang-elisp>>
<<emacs-python-elisp>>
<<emacs-python-elisp>>
<<emacs-rustic-elisp>>
<<emacs-plantuml-elisp>>
<<emacs-plantuml-elisp>>
<<emacs-desktop-elisp>>
<<emacs-desktop-elisp>>
@ -2230,6 +2232,21 @@ Go Mode[fn:68] is a major mode for editing Golang[fn:18] source code in GNU/Emac
(add-hook 'go-mode-hook #'dotfiles/go-hook)
(add-hook 'go-mode-hook #'dotfiles/go-hook)
#+END_SRC
#+END_SRC
** Rustic
#+NAME: emacs-rustic-package
#+BEGIN_SRC nix
epkgs.rustic
#+END_SRC
Rustic[fn:69] is a fork of rust-mode that integrates well with the Language Server Protocol[fn:66]. Include the rust shell before launching GNU/Emacs[fn:2] to use this!
#+NAME: emacs-rustic-elisp
#+BEGIN_SRC emacs-lisp
;; Configure `rustic' with `lsp-mode'.
(setq rustic-format-on-save t)
#+END_SRC
** Python Mode
** Python Mode
#+NAME: emacs-python-package
#+NAME: emacs-python-package
@ -2237,7 +2254,7 @@ Go Mode[fn:68] is a major mode for editing Golang[fn:18] source code in GNU/Emac
epkgs.pretty-mode
epkgs.pretty-mode
#+END_SRC
#+END_SRC
The built in Python Mode[fn:69] has a nice feature set for working with Python[fn:22] code in GNU/Emacs[fn:2]. It is complimented with the addition of an LSP[fn:66] server. These tools are included in the Development Shell[fn:17] for Python[fn:22].
The built in Python Mode[fn:70] has a nice feature set for working with Python[fn:22] code in GNU/Emacs[fn:2]. It is complimented with the addition of an LSP[fn:66] server. These tools are included in the Development Shell[fn:17] for Python[fn:22].
#+NAME: emacs-python-elisp
#+NAME: emacs-python-elisp
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
@ -2254,14 +2271,14 @@ The built in Python Mode[fn:69] has a nice feature set for working with Python[f
pkgs.plantuml
pkgs.plantuml
#+END_SRC
#+END_SRC
PlantUML[fn:70] is an open-source tool allowing users to create diagrams from a plain-text language. Besides various UML diagrams, PlantUML[fn:70] has support for various other software developmented related formats, as well as visualizations of =JSON= and =YAML= files.
PlantUML[fn:71] is an open-source tool allowing users to create diagrams from a plain-text language. Besides various UML diagrams, PlantUML[fn:71] has support for various other software developmented related formats, as well as visualizations of =JSON= and =YAML= files.
#+NAME: emacs-plantuml-package
#+NAME: emacs-plantuml-package
#+BEGIN_SRC nix
#+BEGIN_SRC nix
epkgs.plantuml-mode
epkgs.plantuml-mode
#+END_SRC
#+END_SRC
PlantUML Mode[fn:71] is a major mode for editing PlantUML[fn:70] sources in GNU/Emacs[fn:2].
PlantUML Mode[fn:72] is a major mode for editing PlantUML[fn:71] sources in GNU/Emacs[fn:2].
#+NAME: emacs-plantuml-elisp
#+NAME: emacs-plantuml-elisp
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
@ -2283,7 +2300,7 @@ epkgs.ivy-posframe
epkgs.ivy-prescient
epkgs.ivy-prescient
#+END_SRC
#+END_SRC
Ivy (Swiper)[fn:72] is a generic completion mechanism for GNU/Emacs[fn:2]. While operating similarily to other completion schemes like =icomplete-mode=, it aims to be more efficient, smaller, simpler, and smoother to use, while remaining highly customizable.
Ivy (Swiper)[fn:73] is a generic completion mechanism for GNU/Emacs[fn:2]. While operating similarily to other completion schemes like =icomplete-mode=, it aims to be more efficient, smaller, simpler, and smoother to use, while remaining highly customizable.
#+NAME: emacs-swiper-elisp
#+NAME: emacs-swiper-elisp
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
@ -2324,7 +2341,7 @@ It's possible to control the frame opacity in GNU/Emacs[fn:2]. Unlike other tran
pkgs.brightnessctl
pkgs.brightnessctl
#+END_SRC
#+END_SRC
The Desktop Environment[fn:73] package provides commands and a global minor mode for controlling your GNU/Linux[fn:1] desktop from within GNU/Emacs[fn:2].
The Desktop Environment[fn:74] package provides commands and a global minor mode for controlling your GNU/Linux[fn:1] desktop from within GNU/Emacs[fn:2].
#+NAME: emacs-desktop-package
#+NAME: emacs-desktop-package
#+BEGIN_SRC nix
#+BEGIN_SRC nix
@ -2347,7 +2364,7 @@ You can control the brightness, volume, take screenshots, and lock / unlock the
epkgs.doom-themes
epkgs.doom-themes
#+END_SRC
#+END_SRC
Doom Themes[fn:74] is a theme megapack for GNU/Emacs[fn:2], inspired by community favourites.
Doom Themes[fn:75] is a theme megapack for GNU/Emacs[fn:2], inspired by community favourites.
#+NAME: emacs-doom-themes-elisp
#+NAME: emacs-doom-themes-elisp
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
@ -2371,7 +2388,7 @@ Doom Themes[fn:74] is a theme megapack for GNU/Emacs[fn:2], inspired by communit
epkgs.doom-modeline
epkgs.doom-modeline
#+END_SRC
#+END_SRC
Doom Modeline[fn:75] is a fancy and fast modeline inspired by minimalism design. It's integrated into Centaur Emacs, Doom Emacs, and Spacemacs.
Doom Modeline[fn:76] is a fancy and fast modeline inspired by minimalism design. It's integrated into Centaur Emacs, Doom Emacs, and Spacemacs.
#+NAME: emacs-doom-modeline-elisp
#+NAME: emacs-doom-modeline-elisp
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp
@ -2519,18 +2536,20 @@ Doom Modeline[fn:75] is a fancy and fast modeline inspired by minimalism design.