add turny

This commit is contained in:
Joakim Repomaa
2025-07-23 13:19:06 +03:00
parent e317f9b0e4
commit 4a9dcd098f
8 changed files with 205 additions and 36 deletions

View File

@@ -44,6 +44,11 @@
url = "sourcehut:~repomaa/syntax-renderer";
flake = false;
};
turny = {
url = "sourcehut:~repomaa/turny";
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
@@ -94,22 +99,30 @@
nixosConfigurations =
let
mkConfiguration =
name:
{
name,
extraModules ? [ ],
}:
nixpkgs.lib.nixosSystem {
inherit specialArgs;
modules = [
./modules
./hosts/${name}
];
] ++ extraModules;
};
in
{
radish = mkConfiguration "radish";
radish-vm = mkConfiguration "radish-vm";
freun-dev = mkConfiguration "freun-dev";
apu = mkConfiguration "apu";
radish = mkConfiguration { name = "radish"; };
radish-vm = mkConfiguration { name = "radish-vm"; };
freun-dev = mkConfiguration { name = "freun-dev"; };
apu = mkConfiguration { name = "apu"; };
turny = mkConfiguration {
name = "turny";
extraModules = [ "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" ];
};
};
images.turny = self.nixosConfigurations.turny.config.system.build.sdImage;
colmenaHive = colmena.lib.makeHive self.outputs.colmena;
colmena =
@@ -119,6 +132,9 @@
allowLocalDeployment = true;
targetHost = null;
};
turny = {
targetHost = "10.10.1.233";
};
};
in
{