mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
catullus: reliably deploy telegram-reverse
This commit is contained in:
@@ -5,17 +5,22 @@ let
|
||||
lib = import "${krops}/lib";
|
||||
pkgs = import "${krops}/pkgs" {};
|
||||
|
||||
source = path: lib.evalSource [{
|
||||
source = name: path: lib.evalSource [{
|
||||
nixpkgs.git = {
|
||||
ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||
url = https://github.com/NixOS/nixpkgs-channels;
|
||||
};
|
||||
system.file = toString path;
|
||||
packages.file = toString ../packages;
|
||||
nixos-config.symlink = "system/configuration.nix";
|
||||
secrets.pass = {
|
||||
dir = toString ~/.password-store;
|
||||
name = name;
|
||||
};
|
||||
}];
|
||||
|
||||
systems.catullus = pkgs.krops.writeDeploy "deploy-catullus" {
|
||||
source = source ./catullus;
|
||||
source = source "catullus" ./catullus;
|
||||
target = "root@catullus.local";
|
||||
};
|
||||
in systems // {
|
||||
|
||||
Reference in New Issue
Block a user