summaryrefslogtreecommitdiffstats
path: root/nin/krops.nix
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-11-11 17:25:36 +0100
committerlassulus <lass@blue.r>2018-11-11 17:25:36 +0100
commit1626bf9e96950f9228c391a1f7f58fb878e1692a (patch)
treef4571f282b73e60a83c3c3fd5f998a63c7da066b /nin/krops.nix
parent09d09697827d32676c117f8ef492636ced868080 (diff)
remove remaining nin stuff
Diffstat (limited to 'nin/krops.nix')
-rw-r--r--nin/krops.nix36
1 files changed, 0 insertions, 36 deletions
diff --git a/nin/krops.nix b/nin/krops.nix
deleted file mode 100644
index fef8cc38b..000000000
--- a/nin/krops.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ name }: let
- inherit (import ../krebs/krops.nix { inherit name; })
- krebs-source
- lib
- pkgs
- ;
-
- source = { test }: lib.evalSource [
- krebs-source
- {
- nixos-config.symlink = "stockholm/nin/1systems/${name}/config.nix";
- secrets = if test then {
- file = toString ./0tests/dummysecrets;
- } else {
- pass = {
- dir = "${lib.getEnv "HOME"}/.password-store";
- name = "hosts/${name}";
- };
- };
- }
- ];
-
-in {
- # usage: $(nix-build --no-out-link --argstr name HOSTNAME -A deploy)
- deploy = pkgs.krops.writeDeploy "${name}-deploy" {
- source = source { test = false; };
- target = "root@${name}/var/src";
- };
-
- # usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
- test = { target }: pkgs.krops.writeTest "${name}-test" {
- force = true;
- inherit target;
- source = source { test = true; };
- };
-}