initial commit

This commit is contained in:
Henry Hiles 2025-08-31 10:43:23 -04:00
commit f5c962b566
No known key found for this signature in database
8 changed files with 7248 additions and 0 deletions

41
flake.nix Executable file
View 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;
};
}