App grid for a phone shell on niri
This commit is contained in:
commit
4f70f27a44
1 changed files with 375 additions and 0 deletions
22
flake.nix
Normal file
22
flake.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }:
|
||||
let
|
||||
forAllSystems = nixpkgs.lib.genAttrs [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
in
|
||||
{
|
||||
# Use this to build the grid with your own package set, e.g. when cross-compiling
|
||||
overlays.default = final: prev: {
|
||||
app-grid = final.callPackage ./package.nix { };
|
||||
};
|
||||
|
||||
packages = forAllSystems (system: {
|
||||
default = (nixpkgs.legacyPackages.${system}.extend self.overlays.default).app-grid;
|
||||
});
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue