aboutsummaryrefslogtreecommitdiff
path: root/modules/services/flameshot.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2018-07-29 18:15:50 +0200
committerRobert Helgesson <robert@rycee.net>2018-07-31 16:04:19 +0200
commitc18b1328a52c0d5ce54924051a43a597b86ff4e3 (patch)
tree14116ec487ded277b81ff055781296ad9ecb1a53 /modules/services/flameshot.nix
parent93ef6aefce9c2cf5f6a3598a5b263c872cdddfc4 (diff)
Parametrize path to profile directory
Diffstat (limited to 'modules/services/flameshot.nix')
-rw-r--r--modules/services/flameshot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/flameshot.nix b/modules/services/flameshot.nix
index 7c259d43af1..d4cf90d59db 100644
--- a/modules/services/flameshot.nix
+++ b/modules/services/flameshot.nix
@@ -33,7 +33,7 @@ in
};
Service = {
- Environment = "PATH=%h/.nix-profile/bin";
+ Environment = "PATH=${config.home.profileDirectory}/bin";
ExecStart = "${package}/bin/flameshot";
Restart = "on-abort";
};