about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-10 15:47:33 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-10 15:47:33 +0100
commita3deeabc6609551fff36adaf0a7314caab5c92e7 (patch)
treeefca4c8a06a040ea3b3745c13fee447d3ef99ee0
parentHosts: Set XDG_DESKTOP_DIR to $HOME (diff)
downloadnixos-config-a3deeabc6609551fff36adaf0a7314caab5c92e7.tar.gz
nixos-config-a3deeabc6609551fff36adaf0a7314caab5c92e7.tar.bz2
nixos-config-a3deeabc6609551fff36adaf0a7314caab5c92e7.zip
Hosts: Add $HOME/.local/bin to path
-rw-r--r--hosts/configuration.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index dc05207..5dfbbbc 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -89,12 +89,10 @@
     XDG_DATA_HOME = "\${HOME}/.local/share";
     XDG_STATE_HOME = "\${HOME}/.local/state";
     XDG_DESKTOP_DIR = "\${HOME}/";
-
-    PATH = [
-      "\${XDG_BIN_HOME}"
-    ];
   };
 
+  environment.localBinInPath = true;
+
   # List packages installed in system profile. To search, run:
   # $ nix search wget
   environment.systemPackages = with pkgs; [