diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-02-12 07:38:29 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-02-12 07:38:29 -0800 |
| commit | 264cd9efcc972459b41fee80562e08f0a8308d9d (patch) | |
| tree | 370c22907d6046f7f3256d53c0e4a9f070356adb /flake.nix | |
first commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..ea44705 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + description = "Basic example of Nix-on-Droid system config."; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + + nix-on-droid = { + url = "github:nix-community/nix-on-droid/release-24.05"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { self, nixpkgs, nix-on-droid }: { + + nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration { + pkgs = import nixpkgs { system = "aarch64-linux"; }; + modules = [ ./nix-on-droid.nix ]; + }; + + }; +} |
