summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krops.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/krops.nix b/krops.nix
index 35b03eb3..069bff3c 100644
--- a/krops.nix
+++ b/krops.nix
@@ -82,13 +82,14 @@ rec {
path = toString ~/sync/src/hrm;
};
mobile-nixos =
- if mobile-nixos != null then {
- file = {
- filters = [ { type = "exclude"; pattern = ".git"; } ];
- path = mobile-nixos;
- };
- } else
- gitSource "mobile-nixos";
+ lib.mkIf (lib.elem name [ "qi" ])
+ (if mobile-nixos != null then {
+ file = {
+ filters = [ { type = "exclude"; pattern = ".git"; } ];
+ path = mobile-nixos;
+ };
+ } else
+ gitSource "mobile-nixos");
nixos-config.symlink = {
target = "hrm/systems/${name}/config.nix";
};