Initial commit

This commit is contained in:
Nikodem Rabuliński 2023-08-03 14:54:05 +02:00
commit 9661927410
No known key found for this signature in database
GPG key ID: FF629AA9E08138DB
27 changed files with 1091 additions and 0 deletions

18
deploy.nix Normal file
View 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;
}