breaking everything
Some checks failed
ssh-test / ssh-test (push) Failing after 23s

This commit is contained in:
iFargle 2023-12-09 22:10:15 +09:00
parent 5f4638c172
commit f214563739
2 changed files with 23 additions and 0 deletions

View file

@ -67,6 +67,19 @@
nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "gnome"; };
};
deploy.nodes = {
# Virtual
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; };
nixos-vm-01 = libx.deploy { hostname = "nixos-vm-01"; };
# Physical
framework-server = libx.deploy { hostname = "framework-server"; };
nixos-desktop = libx.deploy { hostname = "nixos-desktop"; };
nixos-framework = libx.deploy { hostname = "nixos-framework "; };
nixos-rpi4-01 = libx.deploy { hostname = "nixos-rpi4-01"; };
nixos-rpi4-02 = libx.deploy { hostname = "nixos-rpi4-02"; };
nixos-rpi4-03 = libx.deploy { hostname = "nixos-rpi4-03"; };
};
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
# Devshell for bootstrapping; acessible via 'nix develop'
devShells = libx.forAllSystems (system:

View file

@ -1,5 +1,15 @@
{ inputs, outputs, stateVersion, hmStateVersion, ... }: {
deploy = {
hostname,
platform ? "x86_64-linux",
username ? "albert"
}: {
user = "${username}";
profiles.system.path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.${hostname};
profiles.system.sshUser = "${username}";
};
# Helper function for generating home-manager configs
mkHome = {
hostname,