fix: push everything
This commit is contained in:
parent
1eccd56d57
commit
fc3e0b9a7d
2 changed files with 17 additions and 0 deletions
16
flake.nix
16
flake.nix
|
@ -2,6 +2,7 @@
|
|||
description = "Delft Deployment";
|
||||
|
||||
inputs.deploy-rs.url = "github:serokell/deploy-rs";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
|
||||
outputs = { self, nixpkgs, deploy-rs }: {
|
||||
nixosConfigurations.bastion = nixpkgs.lib.nixosSystem {
|
||||
|
@ -9,6 +10,11 @@
|
|||
modules = [ ./hosts/bastion/configuration.nix ];
|
||||
};
|
||||
|
||||
nixosConfigurations.template = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./hosts/template/configuration.nix ];
|
||||
};
|
||||
|
||||
deploy.nodes.bastion = {
|
||||
hostname = "localhost";
|
||||
fastConnection = true;
|
||||
|
@ -18,6 +24,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
deploy.nodes.template = {
|
||||
sshUser = "root";
|
||||
hostname = "10.42.42.5";
|
||||
fastConnection = true;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.template;
|
||||
};
|
||||
};
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
# Additional packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
ripgrep
|
||||
rsync
|
||||
tmux
|
||||
|
|
Loading…
Reference in a new issue