working website deploy

This commit is contained in:
Anish L 2022-06-22 23:45:20 +10:00
parent 9a13dde021
commit 85094b1dd4

View file

@ -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