Trying to add new machine

This commit is contained in:
Julien Malka 2022-01-01 19:16:42 +01:00
parent 5889cfdbdb
commit d05b910886
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
4 changed files with 55 additions and 3 deletions

View file

@ -9,9 +9,9 @@ let
in
{
mkMachine = host: host-config: modules: nixpkgs.lib.nixosSystem {
mkMachine = {host, host-config, modules, system ? "x86_64-linux"}: nixpkgs.lib.nixosSystem {
lib = final;
system = "x86_64-linux";
system = system;
specialArgs = {
inherit inputs;
};