[WIP] New hosts

This commit is contained in:
Andrea Ciceri 2022-10-08 17:37:56 +02:00
parent c40493fe2a
commit 6d8b757919
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
14 changed files with 632 additions and 63 deletions

View file

@ -8,7 +8,10 @@
comma,
...
}: let
supportedSystems = {x86_64-linux = "x86_64-linux";};
supportedSystems = {
x86_64-linux = "x86_64-linux";
aarch64-linux = "aarch64-linux";
};
pkgsFor = lib.genAttrs (lib.attrValues supportedSystems) (system: nixpkgsUnstable.legacyPackages.${system});
@ -52,6 +55,15 @@
system = supportedSystems.x86_64-linux;
modules = [nixosHardware.nixosModules.lenovo-thinkpad-x1-7th-gen];
};
hs = mkConfiguration {
name = "hs";
system = supportedSystems.x86_64-linux;
};
pbp = mkConfiguration {
name = "pbp";
system = supportedSystems.aarch64-linux;
modules = ["${nixosHardware}/pine64/pinebook-pro"];
};
};
mkVmApp = system: configuration: let