From d51414d155420c0f2f8cfc86bf1d2b7822074eb8 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Thu, 2 Mar 2023 02:38:49 +0100 Subject: add a default overlay, package the galmon.eu tools --- flake.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6755c27..989c4cb 100644 --- a/flake.nix +++ b/flake.nix @@ -43,12 +43,17 @@ freiraum.flake = false; }; - outputs = { self, nixpkgs, deploy-rs, ... }@inputs: + outputs = { self, deploy-rs, ... }@inputs: let + nixpkgs = import inputs.nixpkgs { + system = "x86_64-linux"; + overlays = [ self.overlays.default ]; + }; mkConfig = imports: config: - nixpkgs.lib.nixosSystem rec { + inputs.nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; modules = [ config ] ++ imports; + pkgs = nixpkgs; specialArgs = { inherit inputs system; }; }; @@ -104,5 +109,10 @@ home = self.homeConfigurations.stuebinm.activationPackage; home-minimal = self.homeConfigurations.stuebinm-minimal.activationPackage; + + overlays.default = import ./pkgs/overlay.nix; + packages.x86_64-linux = { + inherit (nixpkgs) galmon-core galmon-full; + }; }; } -- cgit v1.2.3