initial commit
This commit is contained in:
commit
f5c962b566
8 changed files with 7248 additions and 0 deletions
41
flake.nix
Executable file
41
flake.nix
Executable file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
gnome-mobile.url = "github:chuangzhu/nixpkgs-gnome-mobile";
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
conf2nix = {
|
||||
url = "github:linyinfeng/conf2nix";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
pmaports = {
|
||||
url = "gitlab:postmarketOS/pmaports?host=gitlab.postmarketos.org";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
perSystem = {
|
||||
lib,
|
||||
self',
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
_module.args.pkgs = import inputs.nixpkgs {inherit system;};
|
||||
packages = import inputs.nixpkgs {
|
||||
hostPlatform = system;
|
||||
localSystem = system;
|
||||
buildPlatform = "x86_64-linux";
|
||||
|
||||
overlays = [inputs.gnome-mobile.overlays.default];
|
||||
};
|
||||
};
|
||||
flake.nixosModules.default = import ./module.nix;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue