mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
move from github:t184256/ to github:nix-community/
This commit is contained in:
parent
9c190d19cd
commit
039379abee
10 changed files with 22 additions and 22 deletions
14
README.md
14
README.md
|
|
@ -12,7 +12,7 @@ prototype-grade quality as of now, but hey, it works!
|
|||
|
||||
It does not require root, user namespaces support or disabling SELinux,
|
||||
but it relies on `proot` and other hacks instead.
|
||||
It uses [a fork](https://github.com/t184256/nix-on-droid-app)
|
||||
It uses [a fork](https://github.com/nix-community/nix-on-droid-app)
|
||||
of [Termux-the-terminal-emulator app](https://github.com/termux/termux-app),
|
||||
but has no relation to [Termux-the-distro](https://termux.com/).
|
||||
Please do not pester Termux folks about Nix-on-Droid.
|
||||
|
|
@ -72,7 +72,7 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key
|
|||
}
|
||||
```
|
||||
|
||||
See <https://t184256.github.io/nix-on-droid/> for list of all available options.
|
||||
See <https://nix-community.github.io/nix-on-droid/> for list of all available options.
|
||||
|
||||
### [`home-manager`](https://github.com/rycee/home-manager) integration
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ For more information, please run `nix-on-droid help`.
|
|||
|
||||
## Build Nix-on-Droid on your own
|
||||
|
||||
The [terminal emulator part](https://github.com/t184256/nix-on-droid-app)
|
||||
The [terminal emulator part](https://github.com/nix-community/nix-on-droid-app)
|
||||
is probably not interesting for you, just download and use a prebuilt one.
|
||||
If you really want to rebuild it, you can just use Android Studio for that.
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ A minimal example could look like the following:
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:t184256/nix-on-droid/release-23.05";
|
||||
url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
|
@ -202,7 +202,7 @@ A minimal example could look like the following:
|
|||
For more examples and nix flake templates, see [`templates`](./templates) directory or explore with:
|
||||
|
||||
```sh
|
||||
nix flake init --template github:t184256/nix-on-droid#advanced
|
||||
nix flake init --template github:nix-community/nix-on-droid#advanced
|
||||
```
|
||||
|
||||
### Usage with `nix-on-droid`
|
||||
|
|
@ -260,7 +260,7 @@ clean installations.
|
|||
(reachable from Android settings).
|
||||
* If the terminal freezes, use 'Acquire wakelock' button in the notification
|
||||
and/or tone down your device's aggressive power saving measures.
|
||||
* We have a [wiki](https://github.com/t184256/nix-on-droid/wiki)
|
||||
* We have a [wiki](https://github.com/nix-community/nix-on-droid/wiki)
|
||||
with tips and success stories, you're encouraged to add yours as well.
|
||||
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ Two rewrites ago it was based off the official Nix install script
|
|||
(https://nixos.org/nix/install),
|
||||
presumably written by Eelco Dolstra.
|
||||
|
||||
Is deployed and used with [a fork](https://github.com/t184256/nix-on-droid-app)
|
||||
Is deployed and used with [a fork](https://github.com/nix-community/nix-on-droid-app)
|
||||
of [Termux-the-terminal-emulator app](https://github.com/termux/termux-app),
|
||||
but has no relation to Termux-the-distro.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ pkgs, home-manager, nmdSrc }:
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ let
|
|||
modulesDocs = nmd.buildModulesDocs {
|
||||
modules = modules ++ [ setupModule ];
|
||||
moduleRootPaths = [ ../. ];
|
||||
mkModuleUrl = path: "https://github.com/t184256/nix-on-droid/blob/master/${path}";
|
||||
mkModuleUrl = path: "https://github.com/nix-community/nix-on-droid/blob/master/${path}";
|
||||
channelName = "nix-on-droid";
|
||||
docBook.id = "nix-on-droid-options";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</para>
|
||||
<para>
|
||||
If you encounter problems or bugs then please report them on the
|
||||
<link xlink:href="https://github.com/t184256/nix-on-droid/issues">issue tracker</link>.
|
||||
<link xlink:href="https://github.com/nix-community/nix-on-droid/issues">issue tracker</link>.
|
||||
</para>
|
||||
</preface>
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:t184256/nix-on-droid/release-23.05";
|
||||
url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ let
|
|||
defaultNixOnDroidBranch = "release-23.05";
|
||||
|
||||
defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}";
|
||||
defaultNixOnDroidChannel = "https://github.com/t184256/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";
|
||||
defaultNixOnDroidChannel = "https://github.com/nix-community/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";
|
||||
|
||||
defaultNixpkgsFlake = "github:NixOS/nixpkgs/${defaultNixpkgsBranch}";
|
||||
defaultNixOnDroidFlake = "github:t184256/nix-on-droid/${defaultNixOnDroidBranch}";
|
||||
defaultNixOnDroidFlake = "github:nix-community/nix-on-droid/${defaultNixOnDroidBranch}";
|
||||
in
|
||||
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, initialPackageInfo, writeText }:
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ writeText "login-inner" ''
|
|||
${nixCmd} run nixpkgs#gnused -- \
|
||||
-i \
|
||||
-e 's,\"github:NixOS/nixpkgs.*\",\"${config.build.flake.nixpkgs}\",' \
|
||||
-e 's,\"github:t184256/nix-on-droid.*\",\"${config.build.flake.nix-on-droid}\",' \
|
||||
-e 's,\"github:nix-community/nix-on-droid.*\",\"${config.build.flake.nix-on-droid}\",' \
|
||||
"${config.user.home}/.config/nix-on-droid/flake.nix"
|
||||
''}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ in
|
|||
motd = mkOption {
|
||||
default = ''
|
||||
Welcome to Nix-on-Droid!
|
||||
If nothing works, open an issue at https://github.com/t184256/nix-on-droid/issues or try the rescue shell.
|
||||
If nothing works, open an issue at https://github.com/nix-community/nix-on-droid/issues or try the rescue shell.
|
||||
'';
|
||||
type = types.nullOr types.lines;
|
||||
description = ''
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, ... }:
|
||||
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
config.build.activationAfter =
|
||||
# TODO: remove when we stop supporting upgrades from <21.11
|
||||
# Setups upgraded to 21.11 don't have the /dev/shm directory bootstrapped:
|
||||
# https://github.com/t184256/nix-on-droid/issues/162
|
||||
# https://github.com/nix-community/nix-on-droid/issues/162
|
||||
lib.mkIf (lib.versionOlder config.system.stateVersion "21.11") {
|
||||
createDevShm = ''
|
||||
mkdir -p ${config.build.installationDir}/dev/shm
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
};
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:t184256/nix-on-droid/release-23.05";
|
||||
url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
};
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:t184256/nix-on-droid/release-23.05";
|
||||
url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:t184256/nix-on-droid/release-23.05";
|
||||
url = "github:nix-community/nix-on-droid/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue