1
0
Fork 0

pallas: fix

This commit is contained in:
Daniel Kempkens 2024-11-18 17:58:39 +01:00
parent 08b0ff84d7
commit a9a6556123
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 24 additions and 6 deletions

View file

@ -138,18 +138,24 @@
deploy.nodes =
let
mkDeployConfig = node: node.deployment // {
mkDeployNixOsConfig = node: node.deployment // {
profiles.system = {
path = deploy-rs.lib.${node.arch}.activate.nixos node.system;
};
};
# mkDeployMacOSConfig = node: node.deployment // {
# profiles.system = {
# path = deploy-rs.lib.${node.arch}.activate.darwin node.system;
# };
# };
in
{
tanker = mkDeployConfig tanker;
mediaserver = mkDeployConfig mediaserver;
argon = mkDeployConfig argon;
neon = mkDeployConfig neon;
adsb-antenna = mkDeployConfig adsb-antenna;
tanker = mkDeployNixOsConfig tanker;
mediaserver = mkDeployNixOsConfig mediaserver;
argon = mkDeployNixOsConfig argon;
neon = mkDeployNixOsConfig neon;
adsb-antenna = mkDeployNixOsConfig adsb-antenna;
};
};

View file

@ -22,6 +22,8 @@ let
};
in
{
arch = default-system;
system = nix-darwin.lib.darwinSystem {
system = default-system;
modules = [
@ -49,4 +51,14 @@ in
../hosts/Pallas.nix
];
};
# deployment = {
# hostname = "";
# sshUser = "daniel";
# remoteBuild = false;
# fastConnection = true;
# interactiveSudo = true;
# autoRollback = false;
# magicRollback = false;
# };
}