colmena: added host toscano
This commit is contained in:
parent
a8b9f9a12d
commit
68b747d9f5
|
@ -25,6 +25,9 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
defaultModules = baseModules ++ customModules;
|
defaultModules = baseModules ++ customModules;
|
||||||
|
deployment = {
|
||||||
|
allowLocalDeployment = true;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
toscano = import ./hosts/toscano.nix;
|
#toscano = import ./hosts/toscano/configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../networks/linode.nix
|
../../../networks/linode.nix
|
||||||
../profiles/forgejo.nix
|
../../../profiles/gitea.nix
|
||||||
../profiles/hakyll-skeleton.nix
|
../../../profiles/hakyll-skeleton.nix
|
||||||
../profiles/jfdic-web.nix
|
../../../profiles/jfdic-web.nix
|
||||||
../profiles/resrok-web.nix
|
../../../profiles/resrok-web.nix
|
||||||
../profiles/tmateServer.nix
|
../../../profiles/tmateServer.nix
|
||||||
../profiles/voc-web.nix
|
../../../profiles/voc-web.nix
|
||||||
../secrets/forgejo.nix
|
../../../secrets/gitea.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
deployment.targetHost = "45.79.236.198";
|
deployment.targetHost = "45.79.236.198";
|
19
outputs.nix
19
outputs.nix
|
@ -23,34 +23,19 @@ in {
|
||||||
};
|
};
|
||||||
}))
|
}))
|
||||||
// {
|
// {
|
||||||
nixopsConfigurations.default = {
|
|
||||||
inherit nixpkgs;
|
|
||||||
network = {
|
|
||||||
description = "jfdic-ops nodes";
|
|
||||||
enableRollback = true;
|
|
||||||
storage.legacy = {
|
|
||||||
databasefile = "~/.nixops/deployments.nixops";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
defaults = {
|
|
||||||
system.autoUpgrade.enable = false; # Disabled as it conflicts with NixOps
|
|
||||||
_module.args.inputs = inputs; # make flake inputs accessiable in NixOS
|
|
||||||
imports = [./profiles/host_common.nix];
|
|
||||||
};
|
|
||||||
toscano = import ./hosts/toscano.nix;
|
|
||||||
colmena = {
|
colmena = {
|
||||||
meta = {
|
meta = {
|
||||||
description = "jfdic-ops deployment";
|
description = "jfdi collective's NixOS deployment";
|
||||||
name = "jfdic-ops";
|
name = "jfdic-ops";
|
||||||
nixpkgs = import nixpkgs {
|
nixpkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
overlays = [];
|
overlays = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
toscano = import ./nixos/hosts/toscano/configuration.nix;
|
||||||
nixosConfigurations = import ./nixos/configurations.nix (inputs
|
nixosConfigurations = import ./nixos/configurations.nix (inputs
|
||||||
// {
|
// {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
../profiles/openssh.nix
|
../profiles/openssh.nix
|
||||||
../secrets/user-fiscalvelvetpoet.nix
|
../nixos/secrets/user-fiscalvelvetpoet.nix
|
||||||
../secrets/user-root.nix
|
../nixos/secrets/user-root.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.mosh = {
|
programs.mosh = {
|
||||||
|
|
Loading…
Reference in a new issue