From 3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 22 Apr 2023 12:07:54 +0200 Subject: Feat(flake): Modularize --- flake/apps/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 flake/apps/default.nix (limited to 'flake/apps') 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; +} -- cgit 1.4.1