|
@ -365,7 +365,6 @@ nixos = nixpkgs.lib.nixosSystem { |
|
|
modules = [ |
|
|
modules = [ |
|
|
./hosts/nixos |
|
|
./hosts/nixos |
|
|
<<module-x11>> |
|
|
<<module-x11>> |
|
|
<<module-xdg>> |
|
|
|
|
|
<<module-flakes>> |
|
|
<<module-flakes>> |
|
|
<<module-cachix>> |
|
|
<<module-cachix>> |
|
|
<<module-home-manager>> |
|
|
<<module-home-manager>> |
|
@ -471,7 +470,6 @@ acernitro = nixpkgs.lib.nixosSystem { |
|
|
modules = [ |
|
|
modules = [ |
|
|
./hosts/acernitro |
|
|
./hosts/acernitro |
|
|
<<module-x11>> |
|
|
<<module-x11>> |
|
|
<<module-xdg>> |
|
|
|
|
|
<<module-flakes>> |
|
|
<<module-flakes>> |
|
|
<<module-cachix>> |
|
|
<<module-cachix>> |
|
|
<<module-nvidia>> |
|
|
<<module-nvidia>> |
|
@ -790,28 +788,6 @@ X11, or X[fn:25] is the generic name for the X Window System Display Server. All |
|
|
} |
|
|
} |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
** XDG |
|
|
|
|
|
|
|
|
|
|
|
#+NAME: module-xdg |
|
|
|
|
|
#+BEGIN_SRC nix |
|
|
|
|
|
./modules/xdg.nix |
|
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
The XDG Base Directory Specification[fn:27] defines where files should be by located by various programs and services: |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC nix :noweb yes :tangle modules/xdg.nix |
|
|
|
|
|
# <<file-warning>> |
|
|
|
|
|
{ config, pkgs, ... }: |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
environment.variables = { |
|
|
|
|
|
XDG_CACHE_HOME = "~/.cache/" |
|
|
|
|
|
XDG_CONIG_DIR = "~/.config/" |
|
|
|
|
|
XDG_DATA_HOME = "~/.local/share/" |
|
|
|
|
|
}; |
|
|
|
|
|
} |
|
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
** Flakes |
|
|
** Flakes |
|
|
|
|
|
|
|
|
#+NAME: module-flakes |
|
|
#+NAME: module-flakes |
|
|