working website deploy
This commit is contained in:
parent
9a13dde021
commit
85094b1dd4
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
systemd.services.website-deploy = {
|
||||
|
@ -6,10 +6,12 @@
|
|||
path = [
|
||||
pkgs.git
|
||||
pkgs.coreutils
|
||||
pkgs.nixUnstable
|
||||
pkgs.openssh
|
||||
inputs.deploy.packages.${pkgs.system}.deploy-rs
|
||||
];
|
||||
script = ''
|
||||
cd /etc/nixos/
|
||||
nix develop
|
||||
nix flake lock --update-input poonam
|
||||
deploy .#cube --hostname lakhwara.com
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue