colmena: added host toscano

This commit is contained in:
Fiscal Velvet Poet 2022-07-20 13:36:14 +10:00
parent a8b9f9a12d
commit 68b747d9f5
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47
4 changed files with 26 additions and 38 deletions

View file

@ -25,6 +25,9 @@
}
];
defaultModules = baseModules ++ customModules;
deployment = {
allowLocalDeployment = true;
};
in {
toscano = import ./hosts/toscano.nix;
#toscano = import ./hosts/toscano/configuration.nix;
}

View file

@ -8,14 +8,14 @@
...
}: {
imports = [
../networks/linode.nix
../profiles/forgejo.nix
../profiles/hakyll-skeleton.nix
../profiles/jfdic-web.nix
../profiles/resrok-web.nix
../profiles/tmateServer.nix
../profiles/voc-web.nix
../secrets/forgejo.nix
../../../networks/linode.nix
../../../profiles/gitea.nix
../../../profiles/hakyll-skeleton.nix
../../../profiles/jfdic-web.nix
../../../profiles/resrok-web.nix
../../../profiles/tmateServer.nix
../../../profiles/voc-web.nix
../../../secrets/gitea.nix
];
deployment.targetHost = "45.79.236.198";

View file

@ -23,34 +23,19 @@ in {
};
}))
// {
nixopsConfigurations.default = {
inherit nixpkgs;
network = {
description = "jfdic-ops nodes";
enableRollback = true;
storage.legacy = {
databasefile = "~/.nixops/deployments.nixops";
colmena = {
meta = {
description = "jfdi collective's NixOS deployment";
name = "jfdic-ops";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
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 = {
meta = {
description = "jfdic-ops deployment";
name = "jfdic-ops";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [];
};
};
nixosConfigurations = import ./nixos/configurations.nix (inputs
// {
inherit inputs;
});
};
toscano = import ./nixos/hosts/toscano/configuration.nix;
nixosConfigurations = import ./nixos/configurations.nix (inputs
// {
inherit inputs;
});
};
}

View file

@ -7,8 +7,8 @@
}: {
imports = [
../profiles/openssh.nix
../secrets/user-fiscalvelvetpoet.nix
../secrets/user-root.nix
../nixos/secrets/user-fiscalvelvetpoet.nix
../nixos/secrets/user-root.nix
];
programs.mosh = {