hosts: add thanatos

This commit is contained in:
Antoine Martin 2023-12-13 17:29:54 +01:00
parent d5239805a0
commit c3fd5af18f
12 changed files with 246 additions and 20 deletions

View file

@ -42,6 +42,13 @@
repo = "nixos-hardware";
ref = "master";
};
disko = {
type = "github";
owner = "nix-community";
repo = "disko";
ref = "master";
};
};
outputs = {
@ -49,6 +56,7 @@
nixpkgs,
home-manager,
agenix,
disko,
...
} @ inputs:
{
@ -147,6 +155,16 @@
]
++ sharedModules;
};
thanatos = nixpkgs.lib.nixosSystem {
inherit system;
modules =
[
disko.nixosModules.default
./thanatos.nix
]
++ sharedModules;
};
};
}
// inputs.flake-utils.lib.eachDefaultSystem (system: {