about summary refs log tree commit diff
path: root/users/multi/whitby
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-26T22·54+0100
committertazjin <mail@tazj.in>2020-08-26T23·49+0000
commit970f90c711d358999af9669835588968e1008439 (patch)
treeac87064b4382f8a125694778f7ff8355cc87e923 /users/multi/whitby
parentdbda84bac359cd877924d6cf765a447f948e0341 (diff)
fix(multi/home-manager): Prevent readTree failures on home-manager.nix r/1720
This file is not a readTree-compatible Nix file, but rather a NixOS
module. At some point it should be moved elsewhere and .skip-subtree'd
to avoid this issue.

Change-Id: If1b3f7cc80084af1f44036b8b9272f7b76438c2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1849
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi/whitby')
-rw-r--r--users/multi/whitby/home-manager.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/multi/whitby/home-manager.nix b/users/multi/whitby/home-manager.nix
index 765c0e839535..13e313281a0c 100644
--- a/users/multi/whitby/home-manager.nix
+++ b/users/multi/whitby/home-manager.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, depot, ... }:
+{ config ? throw "not a readTree target", pkgs, depot, ... }:
 
 let
   hmPath = "$HOME/nix/home-manager";