mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Updated readme's wrt specialArg vars from flake
This commit is contained in:
parent
9d7a5edf03
commit
c654aa2a4b
2 changed files with 13 additions and 20 deletions
|
@ -20,14 +20,10 @@ My system-level Nix modules are organized into this directory:
|
|||
- [[./wm][wm]] - Necessary system-level configuration to get various window managers, wayland compositors, and/or desktop environments working
|
||||
|
||||
** Variables imported from flake.nix
|
||||
# TODO update this
|
||||
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:
|
||||
- =username= - Username
|
||||
- =hostname= - Hostname for machine
|
||||
- =timezone= - Timezone for machine
|
||||
- =locale= - Locale for machine
|
||||
- =theme= - base16 theme stored in ../themes to be used
|
||||
- =backgroundUrl= - Direct link to background wallpaper (used for login screen)
|
||||
- =backgroundSha256= - Checksum for background image used when downloading
|
||||
I use this to pass a few attribute sets:
|
||||
- =userSettings= - Settings for the normal user (see [[../flake.nix][flake.nix]] for more details)
|
||||
- =systemSettings= - Settings for the system (see [[../flake.nix][flake.nix]] for more details)
|
||||
- =inputs= - Flake inputs (see [[../flake.nix][flake.nix]] for more details)
|
||||
- =pkgs-stable= - Allows me to include stable versions of packages along with (my default) unstable versions of packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue