summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-24 13:57:19 +0300
committerVladimír Čunát <vcunat@gmail.com>2016-04-25 16:44:37 +0200
commit60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96 (patch)
treede17ddec6688300f2018c8dfc4964d5de057296b /nixos/modules/services
parentbee04a37ad9157fa7992b80df53919759b1ebffd (diff)
downloadnixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.gz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.bz2
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.lz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.xz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.zst
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.zip
treewide: Use correct output in ${config.nix.package}/bin
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/misc/nix-gc.nix2
-rw-r--r--nixos/modules/services/misc/nix-ssh-serve.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-gc.nix b/nixos/modules/services/misc/nix-gc.nix
index 6a7a7f4cee72..5c13da6e83dd 100644
--- a/nixos/modules/services/misc/nix-gc.nix
+++ b/nixos/modules/services/misc/nix-gc.nix
@@ -52,7 +52,7 @@ in
 
     systemd.services.nix-gc =
       { description = "Nix Garbage Collector";
-        script = "exec ${config.nix.package}/bin/nix-collect-garbage ${cfg.options}";
+        script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}";
         startAt = optionalString cfg.automatic cfg.dates;
       };
 
diff --git a/nixos/modules/services/misc/nix-ssh-serve.nix b/nixos/modules/services/misc/nix-ssh-serve.nix
index d70bd855c7ff..66148431709f 100644
--- a/nixos/modules/services/misc/nix-ssh-serve.nix
+++ b/nixos/modules/services/misc/nix-ssh-serve.nix
@@ -41,7 +41,7 @@ with lib;
         PermitTTY no
         PermitTunnel no
         X11Forwarding no
-        ForceCommand ${config.nix.package}/bin/nix-store --serve
+        ForceCommand ${config.nix.package.out}/bin/nix-store --serve
       Match All
     '';