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

@ -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
{

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 }:
@ -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"
''}

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, ... }:
@ -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 = ''

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, ... }:
@ -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