cachix-deploy #46
1 changed files with 26 additions and 1 deletions
27
flake.nix
27
flake.nix
|
@ -74,6 +74,7 @@
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
# NixOS configurations for manual deployment
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
{
|
{
|
||||||
"fj-hetzner-aarch64-01" = lib.nixosSystem {
|
"fj-hetzner-aarch64-01" = lib.nixosSystem {
|
||||||
|
@ -88,7 +89,7 @@
|
||||||
modules = [ x86_64-linux-modules ];
|
modules = [ x86_64-linux-modules ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# Cachix deploy for automated deployments
|
||||||
packages.aarch64-linux.default =
|
packages.aarch64-linux.default =
|
||||||
let
|
let
|
||||||
inherit (common "aarch64-linux") cachix-deploy-lib pkgs;
|
inherit (common "aarch64-linux") cachix-deploy-lib pkgs;
|
||||||
|
@ -105,6 +106,30 @@
|
||||||
imports = x86_64-linux-modules;
|
imports = x86_64-linux-modules;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
deploy-json =
|
||||||
|
let
|
||||||
|
inherit (common "aarch64-linux") cachix-deploy-lib;
|
||||||
|
in
|
||||||
|
cachix-deploy-lib.spec
|
||||||
|
{
|
||||||
|
agents = {
|
||||||
|
"fj-hetzner-aarch64-01" =
|
||||||
|
let
|
||||||
|
inherit (common "aarch64-linux") cachix-deploy-lib pkgs;
|
||||||
|
in
|
||||||
|
cachix-deploy-lib.nixos {
|
||||||
|
# system = "aarch64-linux";
|
||||||
|
imports = aarch64-linux-modules;
|
||||||
|
};
|
||||||
|
"fj-shadowfax-01" =
|
||||||
|
let
|
||||||
|
inherit (common "x86_64-linux") cachix-deploy-lib pkgs;
|
||||||
|
in
|
||||||
|
cachix-deploy-lib.nixos {
|
||||||
|
imports = x86_64-linux-modules;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
# Convenience output that aggregates the outputs for home, nixos.
|
# Convenience output that aggregates the outputs for home, nixos.
|
||||||
# Also used in ci to build targets generally.
|
# Also used in ci to build targets generally.
|
||||||
top =
|
top =
|
||||||
|
|
Loading…
Reference in a new issue