1
0
Fork 0

nixops: optimize deployment

This commit is contained in:
Sebastien Bourdeauducq 2021-06-02 08:56:36 +08:00
parent dc1286251b
commit 8eded4637b
4 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ let
in in
{ {
deployment.targetHost = host; deployment.targetHost = host;
deployment.hasFastConnection = true;
nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite";

View File

@ -6,6 +6,7 @@ let
in in
{ {
deployment.targetHost = host; deployment.targetHost = host;
deployment.hasFastConnection = true;
nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite";

View File

@ -3,6 +3,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
deployment.targetHost = host; deployment.targetHost = host;
deployment.hasFastConnection = true;
nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite";
nixpkgs.system = "aarch64-linux"; nixpkgs.system = "aarch64-linux";

View File

@ -6,6 +6,7 @@ let
in in
{ {
deployment.targetHost = host; deployment.targetHost = host;
deployment.hasFastConnection = true;
nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite";
nixpkgs.system = "aarch64-linux"; nixpkgs.system = "aarch64-linux";