move from github:t184256/ to github:nix-community/

This commit is contained in:
Alexander Sosedkin 2023-09-13 13:01:22 +02:00
parent 9c190d19cd
commit 039379abee
10 changed files with 22 additions and 22 deletions

View file

@ -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, It does not require root, user namespaces support or disabling SELinux,
but it relies on `proot` and other hacks instead. 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), of [Termux-the-terminal-emulator app](https://github.com/termux/termux-app),
but has no relation to [Termux-the-distro](https://termux.com/). but has no relation to [Termux-the-distro](https://termux.com/).
Please do not pester Termux folks about Nix-on-Droid. 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 ### [`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 ## 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. 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. 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"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nix-on-droid = { 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.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: For more examples and nix flake templates, see [`templates`](./templates) directory or explore with:
```sh ```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` ### Usage with `nix-on-droid`
@ -260,7 +260,7 @@ clean installations.
(reachable from Android settings). (reachable from Android settings).
* If the terminal freezes, use 'Acquire wakelock' button in the notification * If the terminal freezes, use 'Acquire wakelock' button in the notification
and/or tone down your device's aggressive power saving measures. 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. 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), (https://nixos.org/nix/install),
presumably written by Eelco Dolstra. 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), of [Termux-the-terminal-emulator app](https://github.com/termux/termux-app),
but has no relation to Termux-the-distro. but has no relation to Termux-the-distro.

View file

@ -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 }: { pkgs, home-manager, nmdSrc }:
@ -22,7 +22,7 @@ let
modulesDocs = nmd.buildModulesDocs { modulesDocs = nmd.buildModulesDocs {
modules = modules ++ [ setupModule ]; modules = modules ++ [ setupModule ];
moduleRootPaths = [ ../. ]; 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"; channelName = "nix-on-droid";
docBook.id = "nix-on-droid-options"; docBook.id = "nix-on-droid-options";
}; };

View file

@ -14,7 +14,7 @@
</para> </para>
<para> <para>
If you encounter problems or bugs then please report them on the 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> </para>
</preface> </preface>
@ -34,7 +34,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nix-on-droid = { 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.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -9,10 +9,10 @@ let
defaultNixOnDroidBranch = "release-23.05"; defaultNixOnDroidBranch = "release-23.05";
defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}"; 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}"; defaultNixpkgsFlake = "github:NixOS/nixpkgs/${defaultNixpkgsBranch}";
defaultNixOnDroidFlake = "github:t184256/nix-on-droid/${defaultNixOnDroidBranch}"; defaultNixOnDroidFlake = "github:nix-community/nix-on-droid/${defaultNixOnDroidBranch}";
in in
{ {

View file

@ -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 }: { config, lib, initialPackageInfo, writeText }:
@ -84,7 +84,7 @@ writeText "login-inner" ''
${nixCmd} run nixpkgs#gnused -- \ ${nixCmd} run nixpkgs#gnused -- \
-i \ -i \
-e 's,\"github:NixOS/nixpkgs.*\",\"${config.build.flake.nixpkgs}\",' \ -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" "${config.user.home}/.config/nix-on-droid/flake.nix"
''} ''}

View file

@ -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, ... }: { config, lib, pkgs, ... }:
@ -53,7 +53,7 @@ in
motd = mkOption { motd = mkOption {
default = '' default = ''
Welcome to Nix-on-Droid! 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; type = types.nullOr types.lines;
description = '' description = ''

View file

@ -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, ... }: { config, lib, ... }:
@ -6,7 +6,7 @@
config.build.activationAfter = config.build.activationAfter =
# TODO: remove when we stop supporting upgrades from <21.11 # TODO: remove when we stop supporting upgrades from <21.11
# Setups upgraded to 21.11 don't have the /dev/shm directory bootstrapped: # 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") { lib.mkIf (lib.versionOlder config.system.stateVersion "21.11") {
createDevShm = '' createDevShm = ''
mkdir -p ${config.build.installationDir}/dev/shm mkdir -p ${config.build.installationDir}/dev/shm

View file

@ -10,7 +10,7 @@
}; };
nix-on-droid = { 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.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager"; inputs.home-manager.follows = "home-manager";
}; };

View file

@ -10,7 +10,7 @@
}; };
nix-on-droid = { 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.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager"; inputs.home-manager.follows = "home-manager";
}; };

View file

@ -5,7 +5,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nix-on-droid = { 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.nixpkgs.follows = "nixpkgs";
}; };
}; };