aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorIogaMaster <[email protected]>2023-11-02 15:31:00 -0600
committerIogaMaster <[email protected]>2023-11-02 15:31:31 -0600
commit0cca332d1b5829fa65c982f77f6f850e9bef8e54 (patch)
tree1f0b2ca98ee89d22f3cfec148d996e7dca962213 /flake.nix
parentflake: Use nixpkgs-unstable and stop using url literals (diff)
downloadcompfy-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.nix28
1 files changed, 20 insertions, 8 deletions
diff --git a/flake.nix b/flake.nix
index 4895511..8fcaebe 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;
+ };
}
);
}