about summary refs log tree commit diff stats
path: root/flake/apps
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-22 12:07:54 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:31:20 +0200
commit3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870 (patch)
treec0172a350b9f4bb0e3448b3f20c228c1403dbe0d /flake/apps
parentFix(hosts): Rename spawn to marduk to comply with scheme (diff)
downloadnixos-config-3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870.tar.gz
nixos-config-3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870.zip
Feat(flake): Modularize
Diffstat (limited to 'flake/apps')
-rw-r--r--flake/apps/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/flake/apps/default.nix b/flake/apps/default.nix
new file mode 100644
index 00000000..f1709c71
--- /dev/null
+++ b/flake/apps/default.nix
@@ -0,0 +1,23 @@
+{
+  self,
+  system,
+  ...
+}: {
+  install = {
+    type = "app";
+    program = "${self.packages."${system}".install}/bin/install";
+  };
+  activate = {
+    type = "app";
+    program = "${self.packages."${system}".activate}/bin/activate";
+  };
+  setup = {
+    type = "app";
+    program = "${self.packages."${system}".setup}/bin/setup";
+  };
+  config_setup = {
+    type = "app";
+    program = "${self.packages."${system}".config_setup}/bin/config_setup";
+  };
+  default = self.apps."${system}".activate;
+}