mirror of
https://github.com/kmein/niveum
synced 2026-03-20 03:51:07 +01:00
kropsify
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ catullus-ssh ? "root@catullus.r" }:
|
||||
{ catullus-ssh ? "root@catullus.r"
|
||||
, scardanelli-ssh ? "root@scardanelli.r:22022"
|
||||
, homeros-ssh ? "root@homeros.r:22022"
|
||||
}:
|
||||
let
|
||||
krops = builtins.fetchGit {
|
||||
url = "https://cgit.krebsco.de/krops/";
|
||||
@@ -8,20 +11,33 @@ let
|
||||
|
||||
source = name: path: lib.evalSource [{
|
||||
nixpkgs.git = {
|
||||
ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||
url = https://github.com/NixOS/nixpkgs-channels;
|
||||
# ref = "6a3f5bcb061e1822f50e299f5616a0731636e4e7"; # 18.09
|
||||
ref = "22a606e20d662e2575552ab9b5e7c31aa8331e0e";
|
||||
};
|
||||
# stockholm.git = {
|
||||
# url = https://cgit.krebsco.de/stockholm;
|
||||
# ref = "9b2355521f8447e7da3af30bce8fb7ba6f83ed69";
|
||||
# };
|
||||
system.file = toString path;
|
||||
modules.file = toString ../modules;
|
||||
htoprc.file = toString ../dot/htoprc;
|
||||
packages.file = toString ../packages;
|
||||
nixos-config.symlink = "system/configuration.nix";
|
||||
secrets.pass = {
|
||||
dir = toString ~/.password-store;
|
||||
name = name;
|
||||
};
|
||||
niveum.file = toString ../.;
|
||||
nixos-config.symlink = "system/physical.nix";
|
||||
# secrets.pass = {
|
||||
# dir = toString ~/.password-store;
|
||||
# name = name;
|
||||
# };
|
||||
}];
|
||||
|
||||
systems.scardanelli = pkgs.krops.writeDeploy "deploy-scardanelli" {
|
||||
source = source "scardanelli" ./scardanelli;
|
||||
target = scardanelli-ssh;
|
||||
};
|
||||
|
||||
systems.homeros = pkgs.krops.writeDeploy "deploy-homeros" {
|
||||
source = source "homeros" ./homeros;
|
||||
target = homeros-ssh;
|
||||
};
|
||||
|
||||
systems.catullus = pkgs.krops.writeDeploy "deploy-catullus" {
|
||||
source = source "catullus" ./catullus;
|
||||
target = catullus-ssh;
|
||||
|
||||
Reference in New Issue
Block a user