mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
enable = true;
|
||||
};
|
||||
settings = {
|
||||
require-sigs = true;
|
||||
require-sigs = false;
|
||||
substituters = [
|
||||
"https://cache.nixos.org"
|
||||
"https://nix-community.cachix.org"
|
||||
|
||||
Reference in New Issue
Block a user