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