feat: add vesuvio
This commit is contained in:
parent
5917dab7e7
commit
9eadd0a4d9
21 changed files with 251 additions and 153 deletions
|
@ -3,9 +3,14 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
toSystem = name: role:
|
||||
toSystem = name: {
|
||||
role,
|
||||
system,
|
||||
}:
|
||||
inputs.nixpkgs.lib.nixosSystem
|
||||
{
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
./${name}
|
||||
./${name}/hardware-configuration.nix
|
||||
|
@ -18,9 +23,29 @@
|
|||
};
|
||||
in {
|
||||
flake.nixosConfigurations = lib.mapAttrs toSystem {
|
||||
fuji = "desktop";
|
||||
fuji-wsl = "client";
|
||||
kilimandjaro = "desktop";
|
||||
etna = "server";
|
||||
fuji = {
|
||||
role = "desktop";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
fuji-wsl = {
|
||||
role = "client";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
kilimandjaro = {
|
||||
role = "desktop";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
etna = {
|
||||
role = "server";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
vesuvio = {
|
||||
role = "server";
|
||||
system = "aarch64-linux";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue