diff options
| author | IogaMaster <[email protected]> | 2023-11-02 15:31:00 -0600 |
|---|---|---|
| committer | IogaMaster <[email protected]> | 2023-11-02 15:31:31 -0600 |
| commit | 0cca332d1b5829fa65c982f77f6f850e9bef8e54 (patch) | |
| tree | 1f0b2ca98ee89d22f3cfec148d996e7dca962213 /flake.nix | |
| parent | flake: Use nixpkgs-unstable and stop using url literals (diff) | |
| download | compfy-0cca332d1b5829fa65c982f77f6f850e9bef8e54.tar.xz compfy-0cca332d1b5829fa65c982f77f6f850e9bef8e54.zip | |
flake: Add overlay make package output picom-allusive and default
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 28 |
1 files changed, 20 insertions, 8 deletions
@@ -4,18 +4,30 @@ flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, flake-utils, ... }: - flake-utils.lib.eachDefaultSystem (system: - let + outputs = { + self, + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachDefaultSystem ( + system: let pkgs = nixpkgs.legacyPackages.${system}; - in - { + in { devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ ]; - buildInputs = with pkgs; [ ]; + nativeBuildInputs = with pkgs; []; + buildInputs = with pkgs; []; }; - packages.default = pkgs.picom.overrideAttrs (old: { src = ./.; }); + packages = rec { + default = picom-allusive; + picom-allusive = pkgs.picom.overrideAttrs (_old: {src = ./.;}); + }; + + overlays = rec { + default = picom-allusive; + picom-allusive = self.packages.default; + }; } ); } |