From 97ca991377d8d9869610ccb1bee8965adb3008bd Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Fri, 18 Jun 2021 15:01:22 -0400 Subject: [PATCH] Cleanup XDG module --- README.org | 24 ------------------------ flake.nix | 2 -- modules/xdg.nix | 10 ---------- 3 files changed, 36 deletions(-) delete mode 100644 modules/xdg.nix diff --git a/README.org b/README.org index 6d10336..7257052 100644 --- a/README.org +++ b/README.org @@ -365,7 +365,6 @@ nixos = nixpkgs.lib.nixosSystem { modules = [ ./hosts/nixos <> - <> <> <> <> @@ -471,7 +470,6 @@ acernitro = nixpkgs.lib.nixosSystem { modules = [ ./hosts/acernitro <> - <> <> <> <> @@ -790,28 +788,6 @@ X11, or X[fn:25] is the generic name for the X Window System Display Server. All } #+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 -# <> -{ config, pkgs, ... }: - -{ - environment.variables = { - XDG_CACHE_HOME = "~/.cache/" - XDG_CONIG_DIR = "~/.config/" - XDG_DATA_HOME = "~/.local/share/" - }; -} -#+END_SRC - ** Flakes #+NAME: module-flakes diff --git a/flake.nix b/flake.nix index 699668c..19f5ef0 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,6 @@ modules = [ ./hosts/nixos ./modules/x11.nix - ./modules/xdg.nix ./modules/flakes.nix ./modules/cachix.nix inputs.home-manager.nixosModules.home-manager { @@ -45,7 +44,6 @@ modules = [ ./hosts/acernitro ./modules/x11.nix - ./modules/xdg.nix ./modules/flakes.nix ./modules/cachix.nix ./modules/nvidia.nix diff --git a/modules/xdg.nix b/modules/xdg.nix deleted file mode 100644 index 0899d5a..0000000 --- a/modules/xdg.nix +++ /dev/null @@ -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/" - }; -}