pallas: fix
This commit is contained in:
parent
08b0ff84d7
commit
a9a6556123
2 changed files with 24 additions and 6 deletions
18
flake.nix
18
flake.nix
|
@ -138,18 +138,24 @@
|
||||||
|
|
||||||
deploy.nodes =
|
deploy.nodes =
|
||||||
let
|
let
|
||||||
mkDeployConfig = node: node.deployment // {
|
mkDeployNixOsConfig = node: node.deployment // {
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
path = deploy-rs.lib.${node.arch}.activate.nixos node.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
|
in
|
||||||
{
|
{
|
||||||
tanker = mkDeployConfig tanker;
|
tanker = mkDeployNixOsConfig tanker;
|
||||||
mediaserver = mkDeployConfig mediaserver;
|
mediaserver = mkDeployNixOsConfig mediaserver;
|
||||||
argon = mkDeployConfig argon;
|
argon = mkDeployNixOsConfig argon;
|
||||||
neon = mkDeployConfig neon;
|
neon = mkDeployNixOsConfig neon;
|
||||||
adsb-antenna = mkDeployConfig adsb-antenna;
|
adsb-antenna = mkDeployNixOsConfig adsb-antenna;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,8 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
arch = default-system;
|
||||||
|
|
||||||
system = nix-darwin.lib.darwinSystem {
|
system = nix-darwin.lib.darwinSystem {
|
||||||
system = default-system;
|
system = default-system;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -49,4 +51,14 @@ in
|
||||||
../hosts/Pallas.nix
|
../hosts/Pallas.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# deployment = {
|
||||||
|
# hostname = "";
|
||||||
|
# sshUser = "daniel";
|
||||||
|
# remoteBuild = false;
|
||||||
|
# fastConnection = true;
|
||||||
|
# interactiveSudo = true;
|
||||||
|
# autoRollback = false;
|
||||||
|
# magicRollback = false;
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue