diff options
author | stuebinm | 2023-03-02 02:38:49 +0100 |
---|---|---|
committer | stuebinm | 2023-03-02 02:38:49 +0100 |
commit | d51414d155420c0f2f8cfc86bf1d2b7822074eb8 (patch) | |
tree | 12d3edf7d8f38a85eec5d5060ef7d7fcdddcb288 /flake.nix | |
parent | 07b50c4007701e016100eef59a500ec13f7b38fa (diff) |
add a default overlay, package the galmon.eu tools
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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; + }; }; } |