Initial commit
This commit is contained in:
commit
9661927410
27 changed files with 1091 additions and 0 deletions
18
deploy.nix
Normal file
18
deploy.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
self,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.deploy.nodes =
|
||||
lib.mapAttrs (name: value: {
|
||||
hostname = name;
|
||||
sshUser = "niko";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = inputs.deploy-rs.lib.${value.pkgs.stdenv.system}.activate.nixos value;
|
||||
};
|
||||
remoteBuild = true;
|
||||
})
|
||||
self.nixosConfigurations;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue