This commit is contained in:
2025-10-29 12:05:50 +03:00
parent 99feb38c45
commit 947a38354f
3 changed files with 26 additions and 1 deletions
+16
View File
@@ -9,4 +9,20 @@
pub-vds = import ./pub-vds.nix flakeContext;
};
deploy.nodes = {
sapphira = {
hostname = "sapphira";
deploy = {
sshUser = "oqyude";
};
profiles.system = {
# user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.sapphira;
};
};
};
# This is highly advised, and will prevent many possible mistakes
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
};
}
+9
View File
@@ -24,6 +24,15 @@
nixpkgs.follows = "nixpkgs";
};
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
};
};
flake-compat.url = "github:edolstra/flake-compat";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
+1 -1
View File
@@ -10,7 +10,7 @@
enable = true;
};
settings = {
require-sigs = true;
require-sigs = false;
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"