Browse Source

Cleanup XDG module

main
parent
commit
97ca991377
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 24
      README.org
  2. 2
      flake.nix
  3. 10
      modules/xdg.nix

24
README.org

@ -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

2
flake.nix

@ -21,7 +21,6 @@
modules = [ modules = [
./hosts/nixos ./hosts/nixos
./modules/x11.nix ./modules/x11.nix
./modules/xdg.nix
./modules/flakes.nix ./modules/flakes.nix
./modules/cachix.nix ./modules/cachix.nix
inputs.home-manager.nixosModules.home-manager { inputs.home-manager.nixosModules.home-manager {
@ -45,7 +44,6 @@
modules = [ modules = [
./hosts/acernitro ./hosts/acernitro
./modules/x11.nix ./modules/x11.nix
./modules/xdg.nix
./modules/flakes.nix ./modules/flakes.nix
./modules/cachix.nix ./modules/cachix.nix
./modules/nvidia.nix ./modules/nvidia.nix

10
modules/xdg.nix

@ -1,10 +0,0 @@
# This file is controlled by /etc/dotfiles/README.org
{ config, pkgs, ... }:
{
environment.variables = {
XDG_CACHE_HOME = "~/.cache/"
XDG_CONIG_DIR = "~/.config/"
XDG_DATA_HOME = "~/.local/share/"
};
}
Loading…
Cancel
Save