diff options
| author | tv <tv@krebsco.de> | 2026-11-30 13:53:07 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-30 13:53:07 +0100 |
| commit | e4951a2128eef1e924dde6ef80fedeae0a22b71c (patch) | |
| tree | ac24afaab5598516a91bf85d85b908b15111c092 /krops.nix | |
| parent | 91839734b4b45861a18d5bc817413db8663ccfd4 (diff) | |
krops.nix: mobile-nixos only for qi
Diffstat (limited to 'krops.nix')
| -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"; }; |
