about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ws/wslu/fallback-conf-nix-store.diff
blob: 6315e78d7de4e869d234f0c7913e1617fdccec84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/wslu-header b/src/wslu-header
index 5f33925..159c6af 100644
--- a/src/wslu-header
+++ b/src/wslu-header
@@ -169,11 +169,17 @@ if [ -f "$HOME/.config/wslu/conf" ]; then
 	debug_echo "$HOME/.config/wslu/conf found, sourcing"
 	source "$HOME/.config/wslu/conf"
 fi
+
 if [ -f "$HOME/.wslurc" ]; then
 	debug_echo "$HOME/.wslurc found, sourcing"
 	source "$HOME/.wslurc"
 fi
 
+if [ -f "@out@/share/wslu/conf" ]; then
+	debug_echo "@out@/share/wslu/conf found, sourcing"
+	source "@out@/share/wslu/conf"
+fi
+
 # functions
 
 function help {