feat(deploy-rs): Setup deploy-rs for server.
This commit is contained in:
parent
4ddc7a062f
commit
e5ca1f83d9
2 changed files with 125 additions and 23 deletions
16
flake.nix
16
flake.nix
|
@ -61,6 +61,9 @@
|
|||
|
||||
# Neovim nightly
|
||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
|
||||
# Deploy-rs
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
@ -70,8 +73,21 @@
|
|||
auto-cpufreq,
|
||||
git-hooks,
|
||||
nix-on-droid,
|
||||
deploy-rs,
|
||||
...
|
||||
} @ inputs: {
|
||||
deploy.nodes = {
|
||||
dedi = {
|
||||
hostname = "dedi";
|
||||
profiles.ivek = {
|
||||
sshUser = "ivek";
|
||||
user = "ivek";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurations."ivek";
|
||||
sshOpts = [];
|
||||
magicRollback = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
homeConfigurations = {
|
||||
"ivek" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {system = "x86_64-linux";};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue