about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-10 18:38:19 +0900
committersefidel <contact@sefidel.net>2023-02-10 18:38:45 +0900
commit0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6 (patch)
treec1ab383a15c8705d99fe2f5e5a69373b3d951a4d /lib
parent3a0ab37f75f127fa5a5746d4d741b0122ef7a8aa (diff)
downloadnixrc-0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6.tar.gz
nixrc-0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6.zip
feat(nixos): remove cobalt
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix1
-rw-r--r--lib/mk_colmena.nix37
2 files changed, 0 insertions, 38 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 13164a9..704a15e 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -4,7 +4,6 @@ inputs:
   mkSystem = import ./mk_system.nix inputs;
   mkHome = import ./mk_home.nix inputs;
   mkDarwin = import ./mk_darwin.nix inputs;
-  mkColmena = import ./mk_colmena.nix inputs;
   nixosConfigurationsAsPackages = import ./nixos_configurations_as_packages.nix inputs;
   homeConfigurationsAsPackages = import ./home_configurations_as_packages.nix inputs;
 }
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
-  ];
-}