ci: eval deploy

This commit is contained in:
xinyangli 2024-12-20 18:03:12 +08:00
parent 273c0932b1
commit 9b9d923a25
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
3 changed files with 67 additions and 8 deletions

View file

@ -43,7 +43,7 @@
};
my-nixvim = {
url = "git+https://git.xinyang.life/xin/nixvim";
url = "git+https://git.xiny.li/xin/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
@ -286,16 +286,22 @@
{
imports = nodeNixosModules.biotite ++ sharedColmenaModules;
};
osmium =
{ ... }:
{
deployment = {
targetHost = "osmium.coho-tet.ts.net";
buildOnTarget = false;
};
imports = nodeNixosModules.osmium ++ sharedColmenaModules;
};
};
nixosConfigurations = {
calcite = mkNixos {
hostname = "calcite";
};
osmium = mkNixos {
hostname = "osmium";
};
} // self.colmenaHive.nodes;
}
@ -305,7 +311,7 @@
pkgs = nixpkgs.legacyPackages.${system};
mkHomeConfiguration = user: host: {
name = user;
name = "${user}-${host}";
value = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [