Updated system and user dir readme's

This commit is contained in:
Emmet 2023-06-20 22:30:34 -05:00
parent 8262f63886
commit 5c4150ce64
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,6 @@
#+title: System-level Nix Modules #+title: System-level Nix Modules
#+author: Emmet #+author: Emmet
** System-level Nix Modules
Separate Nix files can be imported as modules using an import block: Separate Nix files can be imported as modules using an import block:
#+BEGIN_SRC nix #+BEGIN_SRC nix
imports = [ import1.nix imports = [ import1.nix
@ -18,6 +17,10 @@ My system-level Nix modules are organized into this directory:
Variables can be imported from [[../flake.nix][flake.nix]] by setting the =specialArgs= block inside the flake (see [[../flake.nix][my flake]] for more details). This allows variables to merely be managed in one place ([[../flake.nix][flake.nix]]) rather than having to manage them in multiple locations. Variables can be imported from [[../flake.nix][flake.nix]] by setting the =specialArgs= block inside the flake (see [[../flake.nix][my flake]] for more details). This allows variables to merely be managed in one place ([[../flake.nix][flake.nix]]) rather than having to manage them in multiple locations.
I currently import the following variables to the system config: I currently import the following variables to the system config:
- =myName= - Username
- =myHostname= - Hostname for machine
- =myTimezone= - Timezone for machine
- =myLocale= - Locale for machine
- =myTheme= - base16 theme stored in ../themes to be used - =myTheme= - base16 theme stored in ../themes to be used
- =myBackgroundUrl= - Direct link to background wallpaper (used for login screen) - =myBackgroundUrl= - Direct link to background wallpaper (used for login screen)
- =myBackgroundSha256= - Checksum for background image used when downloading - =myBackgroundSha256= - Checksum for background image used when downloading

View file

@ -1,7 +1,6 @@
#+title: User-level Nix Modules #+title: User-level Nix Modules
#+author: Emmet #+author: Emmet
** User-level Nix Modules
Separate Nix files can be imported as modules using an import block: Separate Nix files can be imported as modules using an import block:
#+BEGIN_SRC nix #+BEGIN_SRC nix
imports = [ import1.nix imports = [ import1.nix
@ -43,6 +42,7 @@ Variables can be imported from [[../flake.nix][flake.nix]] by setting the =extra
I currently import the following variables to the system config: I currently import the following variables to the system config:
- =myName= - Username - =myName= - Username
- =myHostname= - Hostname for machine
- =myHomeDir= - Absolute path to home directory derived from =myName= - =myHomeDir= - Absolute path to home directory derived from =myName=
- =myEmail= - Email - =myEmail= - Email
- =myDotfilesDir= - Path to my dotfiles directory on the system - =myDotfilesDir= - Path to my dotfiles directory on the system