about summary refs log tree commit diff
path: root/lib/mk_colmena.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mk_colmena.nix')
-rw-r--r--lib/mk_colmena.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/mk_colmena.nix b/lib/mk_colmena.nix
deleted file mode 100644
index 82dce9d..0000000
--- a/lib/mk_colmena.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ self, ... } @ args:
-
-{ name
-, system ? "x86_64-linux"
-, deployment ? null
-, host ? null
-, port ? 22
-, tags ? null
-, inputs ? null
-, ...
-}:
-let
-  configFolder = "${self}/nixos";
-  entryPoint = "${configFolder}/${name}/configuration.nix";
-  hardware = "${configFolder}/${name}/hardware-configuration.nix";
-in
-{
-  deployment = deployment;
-  # system = system;
-
-  imports = [
-    {
-      _module.args = args;
-      networking.hostName = name;
-      nix.flakes.enable = true;
-      system.configurationRevision = self.rev or "dirty";
-      documentation.man = { enable = true; generateCaches = true; };
-    }
-    entryPoint
-    hardware
-    ../nixos/modules/flake.nix
-    ../nixos/modules/nix.nix
-    # TODO: implement extraModules
-    inputs.impermanence.nixosModules.impermanence
-    inputs.sops-nix.nixosModules.sops
-  ];
-}