Add deployment expr for morph for the rest
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
with import <nixpkgs> {};
|
||||
let
|
||||
# Pin the deployment package-set to a specific version of nixpkgs
|
||||
# pkgs = import (builtins.fetchTarball {
|
||||
# url = "https://github.com/NixOS/nixpkgs/archive/e9148dc1c30e02aae80cc52f68ceb37b772066f3.tar.gz";
|
||||
# sha256 = "1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
|
||||
# }) {};
|
||||
pkgs = import <nixpkgs> {};
|
||||
|
||||
name = "psql1-0";
|
||||
address = "10.1.30.80";
|
||||
in {
|
||||
psql1-0 = {
|
||||
psql1-0 = { config, pkgs, ... }: with pkgs; {
|
||||
deployment.tags = [ "db" ];
|
||||
deployment.targetHost = address;
|
||||
system.autoUpgrade.enable = lib.mkForce false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user