From 8c05a809d70aeeb6c6e23d405ba693040ad00730 Mon Sep 17 00:00:00 2001 From: Parthiv Seetharaman Date: Sun, 16 Jan 2022 21:29:21 -0800 Subject: init the module, README, packages, and other stuff --- flake.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b7319cf --- /dev/null +++ b/flake.nix @@ -0,0 +1,40 @@ +{ + inputs = { + fup.url = "github:divnix/flake-utils-plus"; + devshell.url = "github:numtide/devshell"; + nixpkgs.url = "github:NixOS/nixpkgs/release-21.11"; + }; + + outputs = inputs@{ self, nixpkgs, fup, devshell }: + fup.lib.mkFlake { + inherit self inputs; + + supportedSystems = [ "aarch64-linux" "x86_64-linux" ]; + + nixosModules.matrix-appservices = import ./module; + nixosModule = self.nixosModules.matrix-appservices; + + overlays.matrix-appservices = import ./pkgs; + overlay = self.overlays.matrix-appservices; + + sharedOverlays = [ + self.overlay + devshell.overlay + ]; + + channels.pkgs.input = nixpkgs; + + outputsBuilder = { pkgs }: { + packages = { + inherit (pkgs) + mx-puppet-groupme + mx-puppet-slack + + mautrix-twitter + mautrix-instagram + ; + }; + checks.matrix-appservices = import ./test.nix { inherit pkgs; }; + }; + }; +} -- cgit v1.2.3