Work on hydra config, fix tor relay config, prepare web-public-2 host
This commit is contained in:
parent
64d9dbd4b0
commit
c6f4780ccd
15 changed files with 176 additions and 9 deletions
31
flake.nix
31
flake.nix
|
@ -17,6 +17,9 @@
|
|||
jackett = {
|
||||
site = "vs";
|
||||
};
|
||||
#hydra = {
|
||||
# site = "vs";
|
||||
#};
|
||||
};
|
||||
|
||||
generateColmenaHost = name: host : {
|
||||
|
@ -39,5 +42,33 @@
|
|||
};
|
||||
};
|
||||
} // builtins.mapAttrs (self.generateColmenaHost) self.hosts;
|
||||
|
||||
/* generateNixosSystem = {
|
||||
name,
|
||||
system ? "x86_64-linux",
|
||||
group ? null,
|
||||
modules ? [],
|
||||
}:
|
||||
let localNixpkgs = nixpkgs.lib.attrByPath [ "nixpkgs-${name}" ] nixpkgs inputs;
|
||||
in localNixpkgs.lib.nixosSystem {
|
||||
modules = modules ++ [
|
||||
./configuration/common
|
||||
./users/yuri
|
||||
./users/colmena-deploy
|
||||
(./hosts + "/${name}")
|
||||
];
|
||||
}; */
|
||||
|
||||
hydraJobs = {
|
||||
nixConfigurations.nitter = let system = "x86_64-linux";
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./configuration/common
|
||||
./configuration/proxmox-vm
|
||||
./hosts/nitter
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue