Skip to content

Commit

Permalink
move from github:t184256/ to github:nix-community/
Browse files Browse the repository at this point in the history
  • Loading branch information
t184256 committed Sep 13, 2023
1 parent 9c190d1 commit e950aa7
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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";
};
};
Expand All @@ -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`
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/default.nix
Original file line number Diff line number Diff line change
@@ -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 }:

Expand All @@ -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";
};
Expand Down
4 changes: 2 additions & 2 deletions docs/manual.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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";
};
};
Expand Down
4 changes: 2 additions & 2 deletions modules/build/initial-build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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

{
Expand Down
4 changes: 2 additions & 2 deletions modules/environment/login/login-inner.nix
Original file line number Diff line number Diff line change
@@ -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 }:

Expand Down Expand Up @@ -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"
''}
Expand Down
4 changes: 2 additions & 2 deletions modules/environment/session-init.nix
Original file line number Diff line number Diff line change
@@ -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, ... }:

Expand Down Expand Up @@ -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 = ''
Expand Down
4 changes: 2 additions & 2 deletions modules/upgrade.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 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.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
Expand Down
2 changes: 1 addition & 1 deletion templates/advanced/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down
2 changes: 1 addition & 1 deletion templates/home-manager/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
Expand Down

0 comments on commit e950aa7

Please sign in to comment.