mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Updated system and user dir readme's
This commit is contained in:
parent
8262f63886
commit
5c4150ce64
|
@ -1,7 +1,6 @@
|
|||
#+title: System-level Nix Modules
|
||||
#+author: Emmet
|
||||
|
||||
** System-level Nix Modules
|
||||
Separate Nix files can be imported as modules using an import block:
|
||||
#+BEGIN_SRC 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.
|
||||
|
||||
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
|
||||
- =myBackgroundUrl= - Direct link to background wallpaper (used for login screen)
|
||||
- =myBackgroundSha256= - Checksum for background image used when downloading
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#+title: User-level Nix Modules
|
||||
#+author: Emmet
|
||||
|
||||
** User-level Nix Modules
|
||||
Separate Nix files can be imported as modules using an import block:
|
||||
#+BEGIN_SRC 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:
|
||||
- =myName= - Username
|
||||
- =myHostname= - Hostname for machine
|
||||
- =myHomeDir= - Absolute path to home directory derived from =myName=
|
||||
- =myEmail= - Email
|
||||
- =myDotfilesDir= - Path to my dotfiles directory on the system
|
||||
|
|
Loading…
Reference in a new issue