diff options
| -rw-r--r-- | krops.nix | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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"; }; |
